From 0fecdec093abcb07e7810358d162d69e60b7fcef Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 20 Jun 2017 11:29:50 -0600 Subject: [PATCH] Update check_auth.php --- resources/check_auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/check_auth.php b/resources/check_auth.php index cf0fca5cbe..7ccdbaab51 100644 --- a/resources/check_auth.php +++ b/resources/check_auth.php @@ -46,7 +46,7 @@ if (!isset($_SESSION['template_content'])) { $_SESSION["template_content"] = null; } //if the username session is not set the check username and password - if (strlen($_SESSION['username']) == 0) { + if (strlen($_SESSION['username']) == 0 && isset($_REQUEST["username"]) && isset($_REQUEST["password"])) { //clear the menu $_SESSION["menu"] = "";