local_autologoutguest
There is a usability black hole in Moodle:
- A site has autologinguest
- A user visits a course with guest enrolment enabled
- The user is auto logged in as guest - they have no knowledge of this happening
- The user now visits a course that does not have guest enrolment enabled
- The user becomes confused, they do not understand the concept of having logged in as a guest, they have an account they have not logged in with but do not understand the process of logging out and in again They contact support...
This plugin intervenes at stage 4 - the user is silently logged out of the guest account and redirected to the login screen.