public function changepasswordformAction()
{
$auth = Zend_Auth::getInstance();
if (!$auth->hasIdentity()) {
return $this->_helper->redirector(
'index',
'auth',
'default'
);
}
$this->view->identity = $auth->getIdentity();
$this->view->form = new Application_Form_Changepassword();
}
Listing 37.13. Metoda akcji auth/changepasswordform
Rozdział 37. Rejestracja użytkowników