> */ 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'], ]; /** * Register any events for your application. */ public function boot(): void { // } /** * Determine if events and listeners should be automatically discovered. */ public function shouldDiscoverEvents(): bool { return false; } }