update: password check limit

This commit is contained in:
tokumeikoi 2022-12-14 23:01:18 +08:00
parent 125a882a7e
commit 837701f20a

View File

@ -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,