From 587cebecbb11c38cc793373a9ca55b209d12f10b Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sat, 13 Mar 2021 12:10:35 -0500 Subject: [PATCH] navbar requests don't pass an auth token so we never send an auth update. Just always send it. --- web/ajax/status.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/web/ajax/status.php b/web/ajax/status.php index da711b1f8..9d14dd24d 100644 --- a/web/ajax/status.php +++ b/web/ajax/status.php @@ -4,10 +4,8 @@ if ( $_REQUEST['entity'] == 'navBar' ) { $data = array(); if ( ZM_OPT_USE_AUTH && (ZM_AUTH_RELAY == 'hashed') ) { $auth_hash = generateAuthHash(ZM_AUTH_HASH_IPS); - if ( isset($_REQUEST['auth']) and ($_REQUEST['auth'] != $auth_hash) ) { - $data['auth'] = $auth_hash; - $data['auth_relay'] = get_auth_relay(); - } + $data['auth'] = $auth_hash; + $data['auth_relay'] = get_auth_relay(); } // Each widget on the navbar has its own function // Call the functions we want to dynamically update