Browse Source

checkredis

yuenan
娄梦宁 3 years ago
parent
commit
886a054e40
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      application/admin/library/Auth.php

+ 1
- 1
application/admin/library/Auth.php View File

@@ -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;
}


Loading…
Cancel
Save