From aa1264f4d2f68f9676e1f35d618074977980ca77 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 23 May 2019 16:26:40 -0400 Subject: [PATCH] fix missing ] --- web/includes/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/includes/auth.php b/web/includes/auth.php index 0a0028896..4adfe2112 100644 --- a/web/includes/auth.php +++ b/web/includes/auth.php @@ -359,7 +359,7 @@ if ( ZM_OPT_USE_AUTH ) { if ( ZM_AUTH_HASH_LOGINS ) { # Extra validation, if logged in, then the auth hash will be set in the session, so we can validate it. # This prevent session modification to switch users - $user = getAuthUser($_SESSION['AuthHash'.$_SESSION['remoteAddr']); + $user = getAuthUser($_SESSION['AuthHash'.$_SESSION['remoteAddr']]); } else { # Need to refresh permissions and validate that the user still exists $sql = 'SELECT * FROM Users WHERE Enabled=1 AND Username=?';