-rw-r--r-- | backend/php/src/index.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/php/src/index.php b/backend/php/src/index.php index 35752f4..58c10a9 100644 --- a/backend/php/src/index.php +++ b/backend/php/src/index.php | |||
@@ -720,15 +720,15 @@ error_log("message"); | |||
720 | $result["result"] = $parameters; | 720 | $result["result"] = $parameters; |
721 | } | 721 | } |
722 | 722 | ||
723 | //============================================================= | 723 | //============================================================= |
724 | } else if (isset($_SESSION['K'])) { | 724 | } else if (isset($_SESSION['K'])) { |
725 | $result["error"] = "Wrong shared secret!"; | 725 | $result["error"] = "Wrong shared secret!"; |
726 | } else { | 726 | } else { |
727 | $result["result"] = "EXCEPTION"; | 727 | $result["result"] = "EXCEPTION"; |
728 | $result["message"] = "Trying to communicate without an active connection"; | 728 | $result["message"] = "Trying to communicate without an active connection"; |
729 | } | 729 | } |
730 | break; | 730 | break; |
731 | 731 | ||
732 | case "logout": | 732 | case "logout": |
733 | error_log("logout"); | 733 | error_log("logout"); |
734 | session_destroy(); | 734 | session_destroy(); |