* Adjust code.

This commit is contained in:
liuhong
2023-05-05 13:38:41 +08:00
parent d88575676f
commit 4ed13e67cf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1161,7 +1161,7 @@ class userModel extends model
{
if(!$user) return false;
// $this->cleanLocked($user->account);
$this->cleanLocked($user->account);
/* Authorize him and save to session. */
$user->rights = $this->authorize($user->account);
+1 -1
View File
@@ -477,6 +477,6 @@ function su($account)
$user = $userModel->getByID($account);
if($user) return $userModel->login($user);
//$user = $userModel->identify($account, $user->password);
$user = $userModel->identify($account, $user->password);
return false;
}