mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-12-15 13:00:28 +01:00
Don't show email address when sending forgot pw instructions #571
This commit is contained in:
@@ -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('/');
|
||||
|
||||
Reference in New Issue
Block a user