Skip to content

Commit

Permalink
Merge branch 'feature/add-auth-to-ws-20241025' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
webpwnized committed Nov 6, 2024
2 parents 9503c56 + dc4aacc commit cc730c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/webservices/rest/ws-echo.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
// Initialize SQL query handler with security level 0
$SQLQueryHandler = new SQLQueryHandler(0);

// Get the current security level from database instead of session
$lSecurityLevel = $SQLQueryHandler->getSecurityLevelFromDB();
// Get the current security level from database instead of session
$lSecurityLevel = $SQLQueryHandler->getSecurityLevelFromDB();

$LogHandler = new LogHandler($lSecurityLevel);
$LogHandler = new LogHandler($lSecurityLevel);

// Define a dedicated exception for command execution failures
class CommandExecutionException extends Exception {}
Expand Down

0 comments on commit cc730c0

Please sign in to comment.