Hi, I am new to laravel, I use laravel 5.6 I am implementing a login with function __construct(){$this->middleware('auth.basic');}
is a basic authentication, this builder inserted it in canda controller. what I need is that every time the session starts, I return the user's data and they are stored in a session or in the localstorage (I do not know where it should be stored). so that when this user registers something, this record will be followed by the user's id and thus to know who kept that record. Thanks in advance