Answer the question
In order to leave comments, you need to log in
How to login a new user?
I use sonata.user with fos.user in the project, I fasten the login.
The user is created without problems, the avatar is added, the data is saved. Now you need to somehow log in an existing user without entering a password. I did not understand how to drive the user into the security session context. Can anyone come across? Tell.
Answer the question
In order to leave comments, you need to log in
create a token, assign a user to it, put the token in a security context
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question