diff --git a/src/app/Listeners/SuccessfulLogin.php b/src/app/Listeners/SuccessfulLogin.php index e1a85d3..f57f065 100644 --- a/src/app/Listeners/SuccessfulLogin.php +++ b/src/app/Listeners/SuccessfulLogin.php @@ -29,6 +29,7 @@ class SuccessfulLogin public function handle(Login $event): void { Session::put('timezone_name', $event->user->timezone_name); + Session::put('language', $event->user->language->locale); // Optionally log the info /*