Remove echo from lost password page
This commit is contained in:
parent
4e1923b01e
commit
394cebc90f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue