Explorar o código

Log failed login

Bubka %!s(int64=2) %!d(string=hai) anos
pai
achega
e40e58c0bf
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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);
     }