-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
2.8.1
-
MOODLE_28_STABLE
-
MDL-48479_login_guest -
If you log into moodle.org and go to a URL like https://moodle.org/mod/forum/discuss.php?d=84925 (viewing a forum discussion) and leave the tab open long enough for your session to expire, when you refresh it you are presented with the login page. The message "Your session has timed out. Please login again." is displayed as well as both username, password fields and a "Log in as guest" button.
However if you open a second tab and paste that URL into the address bar you are automatically logged in as guest.
This second behaviour is correct. The first tab with the expired session should be automatically logging the user in as guest.
- Discovered while testing
-
MDLSITE-3382 Guest access not always available
-
- Closed
-
- has been marked as being related by
-
MDL-34965 When the session expires redirect the user to the login page instead of login it as guest
-
- Closed
-
- Testing discovered
-
MDL-48480 login/index.php $errorcode uses a mixture of constants and hard coded ints
-
- Closed
-