diff --git a/src/app/Listeners/SuccessfulLogin.php b/src/app/Listeners/SuccessfulLogin.php new file mode 100644 index 0000000..d9d1956 --- /dev/null +++ b/src/app/Listeners/SuccessfulLogin.php @@ -0,0 +1,33 @@ +user->timezone_name); + } +} diff --git a/src/app/Listeners/SuccessfulLogout.php b/src/app/Listeners/SuccessfulLogout.php new file mode 100644 index 0000000..ad58c66 --- /dev/null +++ b/src/app/Listeners/SuccessfulLogout.php @@ -0,0 +1,32 @@ +> + */ + protected $listen = [ + Registered::class => [ + SendEmailVerificationNotification::class, + ], + Login::class => [ + SuccessfulLogin::class, + ], + /*Logout::class => [ + SuccessfulLogout::class, + ],*/ + ]; + + /** + * Register any events for your application. + * + * @return void + */ + public function boot() + { + // + } + + /** + * Determine if events and listeners should be automatically discovered. + * + * @return bool + */ + public function shouldDiscoverEvents() + { + return false; + } +}