mirror of https://github.com/MISP/MISP
fix: [UI] Logout fixed
parent
0a47c3e3be
commit
a34d4dcfb2
|
@ -360,12 +360,12 @@
|
|||
array(
|
||||
'url' => h(Configure::read('Plugin.CustomAuth_custom_logout')),
|
||||
'text' => __('Log out'),
|
||||
'requirement' => (!$externalAuthUser && empty(Configure::read('Plugin.CustomAuth_disable_logout')))
|
||||
'requirement' => (Configure::read('Plugin.CustomAuth_custom_logout') && empty(Configure::read('Plugin.CustomAuth_disable_logout')))
|
||||
),
|
||||
array(
|
||||
'url' => '/users/logout',
|
||||
'text' => __('Log out2'),
|
||||
'requirement' => (!empty(Configure::read('Plugin.CustomAuth_custom_logout')))
|
||||
'text' => __('Log out'),
|
||||
'requirement' => (!$externalAuthUser && empty(Configure::read('Plugin.CustomAuth_disable_logout')))
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue