Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.0.4, 3.1
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MDL-54755_master -
Description
The redirection page after the password change from an email or from a new session is incorrect.
This will work correctly if there is a referer (see get_local_referer in index.php page).
To reproduce :
- As an admin, create a new user in the interface
- Enter a temporary password and check the option "Force password change"
- Enter the other required field and click on the "Create user" button
- As the new user, directly go to the login page (write it manually in a new browser, click on it or from a bookmark) and login with the temporary password
- Change your password as requested
- You should see a page who confirm the page. Click on the "Continue" button
- EXPECTED : To be redirected on the default redirection after login page
- ACTUAL : Redirected in my dashboard > Preferences
After checking in the code, it seems the default behavior is to return to the user preferences page.