Update Current User
The updateCurrentUser
method updates the current authenticated user with a new User
instance.
Method
Parameters
user (
User
): The newUser
instance to update the current user.
Return
void: This method does not return a value.
This will update the current user in session with the newly created user user
.
Last updated