Browse Source

Log failed login

Bubka 2 years ago
parent
commit
e40e58c0bf
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/Http/Controllers/Auth/LoginController.php

+ 2 - 0
app/Http/Controllers/Auth/LoginController.php

@@ -60,6 +60,8 @@ class LoginController extends Controller
         // user surpasses their maximum number of attempts they will get locked out.
         $this->incrementLoginAttempts($request);
 
+        Log::info('User login failed');
+
         return $this->sendFailedLoginResponse($request);
     }