navbar requests don't pass an auth token so we never send an auth update. Just always send it.
This commit is contained in:
parent
9d33688f89
commit
587cebecbb
|
@ -4,10 +4,8 @@ if ( $_REQUEST['entity'] == 'navBar' ) {
|
||||||
$data = array();
|
$data = array();
|
||||||
if ( ZM_OPT_USE_AUTH && (ZM_AUTH_RELAY == 'hashed') ) {
|
if ( ZM_OPT_USE_AUTH && (ZM_AUTH_RELAY == 'hashed') ) {
|
||||||
$auth_hash = generateAuthHash(ZM_AUTH_HASH_IPS);
|
$auth_hash = generateAuthHash(ZM_AUTH_HASH_IPS);
|
||||||
if ( isset($_REQUEST['auth']) and ($_REQUEST['auth'] != $auth_hash) ) {
|
$data['auth'] = $auth_hash;
|
||||||
$data['auth'] = $auth_hash;
|
$data['auth_relay'] = get_auth_relay();
|
||||||
$data['auth_relay'] = get_auth_relay();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
// Each widget on the navbar has its own function
|
// Each widget on the navbar has its own function
|
||||||
// Call the functions we want to dynamically update
|
// Call the functions we want to dynamically update
|
||||||
|
|
Loading…
Reference in New Issue