A
A
Andrey Godin2013-03-31 22:55:17
symfony
Andrey Godin, 2013-03-31 22:55:17

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

1 answer(s)
V
Vyacheslav Slinko, 2013-03-31
@xilix

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 question

Ask a Question

731 491 924 answers to any question