update application/common/library/Auth.php.

此处没有用return false;
pull/475/head
御宅男(YznCMS官方) 2024-09-19 02:42:28 +00:00 committed by Gitee
parent c74b9dc24a
commit f57cf5ce80
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 0 deletions

View File

@ -224,6 +224,7 @@ class Auth
if ($user->loginfailure >= 10 && time() - $user->loginfailuretime < 86400) {
$this->setError('Please try again after 1 day');
return false;
}
if ($user->password != $this->getEncryptPassword($password, $user->salt)) {