When you want a user to be automatically logged in after they register, you can use the following code where you have access to the sfGuardUser module:
$this->getContext()->getUser()->signIn($user, true);
A blog about productivity for the Internet entrepreneur.
My goal is to help you focus on your passions by reducing or eliminating the time needed to maintain the mundane tasks in your life.
Speak Your Mind