Browse Source

登录限制密码错误次数

yijia
nizongfeng 1 year ago
parent
commit
be99e738e3
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      application/common/library/Auth.php

+ 0
- 1
application/common/library/Auth.php View File

@@ -209,7 +209,6 @@ class Auth
return false;
}
$loginError = Cookie::get($account);
print_r($loginError);
if ($loginError && $loginError>=5) {
$this->setError(__('登录错误次数过多,请5分钟后再登录'));;
return false;


Loading…
Cancel
Save