Load user personal param at login

This commit is contained in:
Frédéric FRANCE 2016-04-28 11:54:42 +02:00
parent 608c93702d
commit 4404197597

View File

@ -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');