-
Improvement
-
Resolution: Fixed
-
Minor
-
3.3
-
MOODLE_33_STABLE
-
MOODLE_37_STABLE
-
MDL-59298-master -
Since enabling OAuth 2 authentication on moodle.org and learn.moodle.net, our support email has received a number of messages from users who previously logged in using OAuth 2 auth wanting a new password. Obviously they can't reset their password via Moodle, but if they try, they receive an email containing the text emailpasswordchangeinfofail | core
Hi {$a->firstname},
Someone (probably you) has requested a new password for your account on '{$a->sitename}'.
Unfortunately passwords cannot be reset on this site. Please contact the site administrator {$a->admin}.
This is confusing, because passwords CAN be reset on the site, just not for users who previously logged in using OAuth 2 auth.
I suggest we create a new language string with wording as follows (or similar):
Hi {$a->firstname},
Someone (probably you) has requested a new password for your account on '{$a->sitename}'.
It is not possible to reset your password if you previously logged in using your account on another site. Please log in as before, using the link on the login page.
{$a->admin}
(with maybe a link to the login page).
- caused a regression
-
MDL-66581 Password reset email doesn't fill in $a->link when auth_method is LDAP
- Closed
- has a non-specific relationship to
-
MDL-66984 Allow change_password_url to use $USER global
- Closed
- Testing discovered
-
MDLSITE-5716 AMOScript parser does not recognise components with a digit in name
- Resolved