FIX #13050
This commit is contained in:
parent
d49943ab37
commit
07fbaa02d1
@ -553,7 +553,7 @@ if (!defined('NOLOGIN'))
|
||||
// Validation of login/pass/entity
|
||||
// If ok, the variable login will be returned
|
||||
// If error, we will put error message in session under the name dol_loginmesg
|
||||
if ($test && $goontestloop && GETPOST('actionlogin', 'aZ09') == 'login')
|
||||
if ($test && $goontestloop && (GETPOST('actionlogin', 'aZ09') == 'login' || $dolibarr_main_authentication != 'dolibarr'))
|
||||
{
|
||||
$login = checkLoginPassEntity($usertotest, $passwordtotest, $entitytotest, $authmode);
|
||||
if ($login)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user