Merge branch 'pliablepixels-crypt-replacement3' into storageareas

pull/2618/head
Isaac Connor 2019-05-24 09:36:54 -04:00
commit 843a9a6630
1 changed files with 1 additions and 1 deletions

View File

@ -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=?';