Browse Source

update: password check limit

tokumeikoi 2 years ago
parent
commit
837701f20a
1 changed files with 0 additions and 1 deletions
  1. 0 1
      app/Http/Controllers/Passport/AuthController.php

+ 0 - 1
app/Http/Controllers/Passport/AuthController.php

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