fix auth_hash. Should use generateAuthHash instead of accessing session directly

This commit is contained in:
Isaac Connor 2018-10-22 18:32:39 -04:00
parent 9938346752
commit 86b0e4ea18
1 changed files with 2 additions and 2 deletions

View File

@ -67,5 +67,5 @@ var imagePrefix = "<?php echo "?view=image&eid=" ?>";
var auth_hash;
<?php if ( ZM_OPT_USE_AUTH && ZM_AUTH_HASH_LOGINS ) { ?>
auth_hash = '<?php echo isset($_SESSION['AuthHash']) ? $_SESSION['AuthHash'] : ''; ?>';
auth_hash = '<?php echo generateAuthHash(ZM_AUTH_HASH_IPS) ?>';
<?php } ?>