have to add authhash to session on login

This commit is contained in:
Isaac Connor 2019-08-19 11:38:56 -04:00
parent bf34d8901e
commit 87e7ba0e50
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ if ( ('login' == $action) && isset($_REQUEST['username']) && ( ZM_AUTH_TYPE == '
$_SESSION['password'] = $_REQUEST['password']; $_SESSION['password'] = $_REQUEST['password'];
} }
zm_session_regenerate_id(); zm_session_regenerate_id();
generateAuthHash(ZM_AUTH_HASH_IPS);
if ( $close_session ) if ( $close_session )
session_write_close(); session_write_close();