Send first "change password" mail even if mail was stopped.

This commit is contained in:
moodler
2004-10-04 15:47:28 +00:00
parent 853fdc2076
commit d7b9ae5984
+2
View 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");
}