Avoid user enumeration using password reset functionality
This commit is contained in:
committed by
fguillot
parent
71123b0f37
commit
3c85d35485
@@ -117,10 +117,6 @@ class PasswordResetController extends BaseController
|
||||
t('Password Reset for Kanboard'),
|
||||
$this->template->render('password_reset/email', array('token' => $token))
|
||||
);
|
||||
|
||||
$this->flash->success(t('A link to reset your password has been sent by email.'));
|
||||
} else {
|
||||
$this->flash->failure(t('Unfortunately, we are unable to reset your password. Did you enter a valid username? Do you have an email address in your profile?'));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user