Send new password mail even if email was disabled

This commit is contained in:
moodler
2004-07-24 08:55:29 +00:00
parent 73ed3dd793
commit 39eece7bd1
+2
View File
@@ -17,6 +17,8 @@
if (isguest($user->id)) {
error("Can't change guest password!");
}
$user->emailstop = 0; // Send mail even if sending mail was forbidden
if (! reset_password_and_mail($user)) {
error("Could not reset password and mail the new one to you");