adding a note about language setter in successful login event
This commit is contained in:
		| @@ -29,6 +29,10 @@ class SuccessfulLogin | ||||
|     public function handle(Login $event): void | ||||
|     { | ||||
|         Session::put('timezone_name', $event->user->timezone_name); | ||||
|  | ||||
|         // TODO: this may need to be reworked so that the language is stored | ||||
|         //       in a cookie and attempted to be retrieved from there | ||||
|         //       first before pulling from the database. | ||||
|         Session::put('language', $event->user->language->locale); | ||||
|  | ||||
|         // Optionally log the info | ||||
|   | ||||
		Reference in New Issue
	
	Block a user