Fix: On ne se connecte pas si mot de passe non saisi sur logon
This commit is contained in:
parent
e2c70db60d
commit
031a9cc604
@ -73,7 +73,8 @@ function check_user_password_dolibarr($usertotest,$passwordtotest)
|
||||
// For compatibility with old versions
|
||||
if (! $passok)
|
||||
{
|
||||
if ($passtyped == $passclear) $passok=true;
|
||||
if ((! $passcrypted || $passtyped)
|
||||
&& ($passtyped == $passclear)) $passok=true;
|
||||
}
|
||||
|
||||
// Password ok ?
|
||||
|
||||
Loading…
Reference in New Issue
Block a user