Comparing
#7 with
#8
Revision #8 was created by
Maurizio Domba Cerin on Feb 2, 2011, 10:31:30 AM.
proper ident
Content
[...]
if(isset($_POST['User']))
{
$form->attributes=$_POST['User'];
if($form->validate() && $form->login()){
$url = $this->controller->createUrl('user/index');
$this->controller->redirect($url);
}
}
$this->render('UserLogin',array('form'=>$form));
}
}
```[...]