I would like to save session variables after login. Unfortunately, I can not find the entry point. Where should I start the session ??? LoginController ??? I use the login system Auth provided by Laravel ...
Argument 1 passed to App\Http\Controllers\Auth\LoginController::authenticated() must be an instance of App\Http\Controllers\Auth\Request, instance of Illuminate\Http\Request given, called in C:\xampp\htdocs\mayWaWi\vendor\laravel\framework\src\Illuminate\Foundation\Auth\AuthenticatesUsers.php on
Why do you need to when the user object is available globally? You can use {{ auth()->user()->company_name }} wherever you want to display the logged in users company_name, and it's already stored in session. So you're basically duplicating data in session by doing this.