Assuming you use sfGuard it's something like:
$this->getUser()->signIn($user);
Where $user is an active sf_guard_user entry, so you have to save the
entry, signin and then redirect.
gabriel
On Nov 21, 5:22 pm, noel guilbert <[email protected]> wrote:
> Hi,
>
> I have a subscribe form, and I want to log my user in just after the
> subscription. How should I do?
>
> Thanks
>
> --
> Noël GUILBERThttp://www.noelguilbert.com/
> Twitter
> :http://twitter.com/noelguilberthttp://www.sensiolabs.comhttp://www.symfony-project.com
> Sensio Labs
> Tél: +33 1 40 99 80 80
--
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 users" 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-users?hl=en