From 886a054e40ae8855284ab94391eb39ad777b6db8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A8=84=E6=A2=A6=E5=AE=81?= Date: Sun, 18 Apr 2021 14:26:07 +0800 Subject: [PATCH] checkredis --- application/admin/library/Auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }