// BO login bug fix

This commit is contained in:
dMetzger committed 2011-11-23 22:04:01 +00:00
1 parent 96694526ca
commit aeeb8e1a39
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -196,7 +196,7 @@ class AdminLoginController extends AdminController
if (Mail::Send((int)Configuration::get('PS_LANG_DEFAULT'), 'password', Mail::l('Your new admin password'), $params, $employee->email, $employee->firstname.' '.$employee->lastname))
die(Tools::jsonEncode(array('hasErrors' => false, 'confirm' => $this->l('Your password has been e-mailed to you'))));
else
die(Tools::jsonEncode(array('hasErrors' => true, 'errors' => Tools::displayError('An error occurred during your password change.'))));
die(Tools::jsonEncode(array('hasErrors' => true, 'errors' => array(Tools::displayError('An error occurred during your password change.')))));
}
}