Check out RegistrationController::authenticateUser().

On Mon, Oct 10, 2011 at 4:52 PM, Laurynas Mališauskas <
[email protected]> wrote:

> Hello,
>
> i use FOSUserBundle for my application security.
>
> i have a situation, when i have to register and login user in the
> controller (action). in Symfony1.x it was quite a simple task, just to
> call $user->signIn(). is there any equivalent for that in symfony2?
>
> another quite often situation is to login the user after submiting
> registration form or clicking on the activation link in email.
>
> any comments or ideas are very welcome
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to