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
|
@ -100,6 +100,12 @@ class LoginController extends Zend_Controller_Action
|
|||
|
||||
public function passwordRestoreAction()
|
||||
{
|
||||
global $CC_CONFIG;
|
||||
|
||||
$request = $this->getRequest();
|
||||
$baseUrl = $request->getBaseUrl();
|
||||
$this->view->headScript()->appendFile($baseUrl.'/js/airtime/login/password-restore.js?'.$CC_CONFIG['airtime_version'],'text/javascript');
|
||||
|
||||
if (!Application_Model_Preference::GetEnableSystemEmail()) {
|
||||
$this->_redirect('login');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue