mirror of
https://github.com/v2board/v2board.git
synced 2025-06-16 14:47:48 +08:00
update: password check limit
This commit is contained in:
@ -206,7 +206,6 @@ class AuthController extends Controller
|
||||
$password,
|
||||
$user->password)
|
||||
) {
|
||||
$passwordErrorCount = Cache::get('PASSWORD_ERROR_LIMIT') || 0;
|
||||
Cache::put(
|
||||
CacheKey::get('PASSWORD_ERROR_LIMIT', $email),
|
||||
(int)$passwordErrorCount + 1,
|
||||
|
Reference in New Issue
Block a user