Permalink
Browse files

Send new password mail even if email was disabled

  • Loading branch information...
1 parent 73ed3dd commit 39eece7bd1010c40166683f203ebf2dbbc937163 moodler committed Jul 24, 2004
Showing with 2 additions and 0 deletions.
  1. +2 −0 login/forgot_password.php
View
2 login/forgot_password.php
@@ -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");

0 comments on commit 39eece7

Please sign in to comment.