mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #02274
[Bug 689045] Re: Passwort reminder is not sent if user disables email in settings
Hmmm. All e-mail is handled by the email_user function in lib/user.php.
If e-mail is disabled, an exception is thrown (EmailDisabledException).
There's only one check for disabled e-mail so it would be relatively
easy to bypass this check.
The question is how best to do so. We could add a parameter to the
email_user() function to ignore disabled e-mail and this may be the best
method. It'd then be a case of modifying the call to email_user in
forgotpass.php->forgotpass_submit(). It'd be pretty easy, but it'd be
adding (yet) more parameters to the email_user function. However, I
can't think of a better way to do so right now.
--
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