diff --git a/application/admin/library/Auth.php b/application/admin/library/Auth.php index 73826e4..a89d9ba 100644 --- a/application/admin/library/Auth.php +++ b/application/admin/library/Auth.php @@ -47,7 +47,7 @@ class Auth extends \fast\Auth $this->setError('Admin is forbidden'); return false; } - if (Config::get('fastadmin.login_failure_retry') && $admin->loginfailure >= 10 && time() - $admin->updatetime < 86400) { + if (Config::get('fastadmin.login_failure_retry') && $admin->loginfailure >= 10 && time() - $admin->updatetime < 86400) { $this->setError('Please try again after 1 day'); return false; }