CC-3969: Reset Password: specifying wrong e-mail keeps you on the same page
without possibility to navigate back gracefully - done
This commit is contained in:
parent
2480639e58
commit
c669d3cb47
5 changed files with 26 additions and 0 deletions
|
@ -29,5 +29,13 @@ class Application_Form_PasswordRestore extends Zend_Form
|
|||
'ViewHelper'
|
||||
)
|
||||
));
|
||||
|
||||
$cancel = new Zend_Form_Element_Button("cancel");
|
||||
$cancel->class = 'ui-button ui-widget ui-state-default ui-button-text-only center';
|
||||
$cancel->setLabel("Cancel")
|
||||
->setIgnore(True)
|
||||
->setAttrib('onclick', 'redirectToLogin();')
|
||||
->setDecorators(array('ViewHelper'));
|
||||
$this->addElement($cancel);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue