]> git.mjollnir.org Git - moodle.git/commitdiff
Merged fix for stopped email from STABLE
authormoodler <moodler>
Mon, 4 Oct 2004 15:49:40 +0000 (15:49 +0000)
committermoodler <moodler>
Mon, 4 Oct 2004 15:49:40 +0000 (15:49 +0000)
login/forgot_password.php

index 1cc8245daccc842505f239ff56e8cbcdb3e0a505..910abc50324dec27edffc07268f3d34e70757564 100644 (file)
@@ -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");
             }