have you tried just $user->update(['username' => $newValue])? You should get the authenticated user from Auth::user().
It seems that I was mistaken. It is possible to do the above my error was a few lines down.
Sorry!
Mei
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community