Don't show email address when sending forgot pw instructions #571

This commit is contained in:
Andy Miller
2016-06-02 12:38:49 -06:00
parent 2bbcc16a90
commit 77e2e65c60
3 changed files with 3 additions and 3 deletions

View File

@@ -553,8 +553,7 @@ class AdminController
if ($sent < 1) {
$this->admin->setMessage($this->admin->translate('PLUGIN_ADMIN.FORGOT_FAILED_TO_EMAIL'), 'error');
} else {
$this->admin->setMessage($this->admin->translate(['PLUGIN_ADMIN.FORGOT_INSTRUCTIONS_SENT_VIA_EMAIL', $to]),
'info');
$this->admin->setMessage($this->admin->translate('PLUGIN_ADMIN.FORGOT_INSTRUCTIONS_SENT_VIA_EMAIL'), 'info');
}
$this->setRedirect('/');