Answer the question
In order to leave comments, you need to log in
How to change authorized user details in Laravel?
Hello. At the moment, to change the data of an authorized user in the database, I use the following code:
Auth::user()->somedata = 123456;
Auth::user()->save();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question