-
Bug
-
Resolution: Fixed
-
Major
-
2.2.4, 2.3.1, 2.4
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
MOODLE_22_STABLE, MOODLE_23_STABLE
-
wip-
MDL-32108-master -
Default home page 'user preference' has no effect on the first page displayed after logging in. The site home is always displayed regardless of which page a user has set as their default homepage.
1. Log in as an admin
2. Set defaulthomepage to 'User preference' (Settings > Site administration > Appearance > Navigation)
3. Login as any user type e.g. 'student' and in the navigation browse to 'My home'
4. In settings expand My profile settings and check that there is a `Make this my default home page` link
5. Click that link
6. Browse to any course
7. Check that 'My home' is now the first item in the navbar and that it links to /my/
8. Logout and then log back in again as the same student user and you are taken to 'site home', when the expected landing page would be 'My home' due to the previously set 'user preference'.
- caused a regression
-
MDL-37983 Default home page for users "user preference" ignored when $CFG->forcelogin is true
- Closed