diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/Controller/LostController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/LostController.php b/core/Controller/LostController.php index 044535c345b..36b8dca6ddb 100644 --- a/core/Controller/LostController.php +++ b/core/Controller/LostController.php @@ -208,7 +208,7 @@ class LostController extends Controller { // FIXME: use HTTP error codes try { - $this->sendEmail($user); + $this->sendEmail(trim($user)); } catch (ResetPasswordException $e) { // Ignore the error since we do not want to leak this info $this->logger->warning('Could not send password reset email: ' . $e->getMessage()); |