minor fixes

This commit is contained in:
fbsanchez 2020-12-16 18:30:21 +01:00
parent 03569f79b6
commit 5b176d9370
1 changed files with 6 additions and 3 deletions

View File

@ -100,6 +100,9 @@ class User
$this->loginTime = time();
$this->errorLogin = false;
}
$this->saveLogin();
return $this->logged;
}
// Maybe back from SAML login.
@ -117,10 +120,10 @@ class User
'User cannot log in into this console, please contact administrator'
);
}
}
$this->saveLogin();
return $this->logged;
$this->saveLogin();
return $this->logged;
}
}
if (($user == null) && ($password == null)) {