- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
public function executeLogin(sfWebRequest $request)
{
if ($request->isMethod('post'))
{
if (SessionPeer::auth($request->getPostParameter('email'), $request->getPostParameter('password')))
{
return $this->redirect($this->getRequest()->getUri());
}
$this->getUser()->setFlash('error.login', true);
return;
}
}