FIX same context of others
This commit is contained in:
parent
724d03c754
commit
3836e5685a
@ -564,7 +564,7 @@ if (!defined('NOLOGIN'))
|
|||||||
|
|
||||||
// Hooks for security access
|
// Hooks for security access
|
||||||
$action = '';
|
$action = '';
|
||||||
$hookmanager->initHooks(array('loginsecurity'));
|
$hookmanager->initHooks(array('login'));
|
||||||
$parameters = array('dol_authmode'=>$dol_authmode);
|
$parameters = array('dol_authmode'=>$dol_authmode);
|
||||||
$reshook = $hookmanager->executeHooks('loginCheckSecurityAccess', $parameters, $user, $action); // Note that $action and $object may have been modified by some hooks
|
$reshook = $hookmanager->executeHooks('loginCheckSecurityAccess', $parameters, $user, $action); // Note that $action and $object may have been modified by some hooks
|
||||||
if ($reshook < 0) $error++;
|
if ($reshook < 0) $error++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user