Merge pull request #5125 from frederic34/patch-7
FIX Load user personal param at login. This cause boxes disordered at login time.
This commit is contained in:
commit
84a39f41d6
@ -516,7 +516,7 @@ if (! defined('NOLOGIN'))
|
||||
exit;
|
||||
}
|
||||
|
||||
$resultFetchUser=$user->fetch('', $login, '', 0, ($entitytotest ? $entitytotest : -1));
|
||||
$resultFetchUser=$user->fetch('', $login, '', 1, ($entitytotest ? $entitytotest : -1));
|
||||
if ($resultFetchUser <= 0)
|
||||
{
|
||||
dol_syslog('User not found, connexion refused');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user