From: moodler Date: Mon, 4 Oct 2004 15:49:40 +0000 (+0000) Subject: Merged fix for stopped email from STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=492581591e10a42eadf2617f39f716dc884da0c7;p=moodle.git Merged fix for stopped email from STABLE --- diff --git a/login/forgot_password.php b/login/forgot_password.php index 1cc8245dac..910abc5032 100644 --- a/login/forgot_password.php +++ b/login/forgot_password.php @@ -56,6 +56,8 @@ error("Could not set user secret string!"); } + $user->emailstop = 0; // Send mail even if sending mail was forbidden + if (! send_password_change_confirmation_email($user)) { error("Could not send you an email to confirm the password change"); }