← Back to team overview

mahara-contributors team mailing list archive

[Bug 689045] Re: Passwort reminder is not sent if user disables email in settings

 

Ahh. Rather than adding another parameter, we could add a variable to
$user (after it's selected from the database) such that:

forgotpass.php->forgotpass_submit we set
$user->ignoredisabled = true;
after $user is pulled from the database and before it's passed to email_user

In email_user we modify the can_receive_email line to read:
if ($userto->ignoredisabled && !$mailinfo = can_receive_email($userto)) {

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/689045

Title:
  Passwort reminder is not sent if user disables email in settings

Status in Mahara ePortfolio:
  New

Bug description:
  If a user disables the email option in his settings, he won't be able to receive any password reminders. Currently he can only use the contact form and ask the admin to send him a new password. It would be great if requested password reminders are send even when the email option is disabled.





References