add lockout, failed and attemting events

This commit is contained in:
2024-01-31 00:04:55 +05:00
parent 33d3980a6b
commit bf483a206c
7 changed files with 85 additions and 6 deletions

View File

@@ -15,6 +15,9 @@ class EventServiceProvider extends ServiceProvider
protected $listen = [
'Illuminate\Auth\Events\Login' => ['App\Listeners\LoginListener'],
'Illuminate\Auth\Events\Logout' => ['App\Listeners\LogoutListener'],
'Illuminate\Auth\Events\Attempting' => ['App\Listeners\AuthFailedListener'],
'Illuminate\Auth\Events\Failed' => ['App\Listeners\AuthFailedListener'],
'Illuminate\Auth\Events\Lockout' => ['App\Listeners\AuthFailedListener'],
];
/**