diff --git a/core/lostpassword/controller.php b/core/lostpassword/controller.php index e64b16d3b83..3ef8eaf71aa 100644 --- a/core/lostpassword/controller.php +++ b/core/lostpassword/controller.php @@ -45,8 +45,6 @@ class OC_Core_LostPassword_Controller { $l = OC_L10N::get('core'); $from = OCP\Util::getDefaultEmailAddress('lostpassword-noreply'); OC_Mail::send($email, $_POST['user'], $l->t('ownCloud password reset'), $msg, $from, 'ownCloud'); - echo('Mailsent'); - self::displayLostPasswordPage(false, true); } else { self::displayLostPasswordPage(true, false);