-
Bug
-
Resolution: Fixed
-
Minor
-
3.1.3
-
MOODLE_31_STABLE
-
MOODLE_31_STABLE
-
MDL-56942-master -
While testing autologin in the Mobile app I got this error with a user that had forcechangepassword enabled:
Call to undefined function core_login_get_return_url() in /lib/moodlelib.php on line 4441
|
It only happened once, I wasn't able to reproduce it. I don't see any require to import login/lib.php in that file.
Steps to reproduce:
- Enable sign-up in the site via the e-mail auth plugin
- Create a new user account via the sign-up form (using an existing email account to retrieve the confirmation email)
- As admin, edit the user created in the previous step and tick the "Force change password" checkbox
- Open the new user account confirmation email link received by email
- You should see that error