Showing
1 changed file
with
1 additions
and
1 deletions
@@ -133,7 +133,7 @@ class LoginController extends WebAction | @@ -133,7 +133,7 @@ class LoginController extends WebAction | ||
133 | //再次校验 | 133 | //再次校验 |
134 | $accountTimes = Cache::get($accountKey); | 134 | $accountTimes = Cache::get($accountKey); |
135 | $ipTimes = Cache::get($ipKey); | 135 | $ipTimes = Cache::get($ipKey); |
136 | - if ($accountTimes >= 1) { | 136 | + if ($accountTimes >= 10) { |
137 | $data = array('code' => 400, 'message' => '您的账号已被暂时锁定,请稍后再试', 'data' => ''); | 137 | $data = array('code' => 400, 'message' => '您的账号已被暂时锁定,请稍后再试', 'data' => ''); |
138 | break; | 138 | break; |
139 | } | 139 | } |
-
Please register or login to post a comment