I have created a guest access course (for FAQs) which is accessed by a link in the footer of the login page. I have added the following site settings:
In Site administration > Plugins > Enrolments > Manage enrol plugins, Guest access is enabled.
In Site administration > Plugins > Authentication > Manage authentication Guest login button is set to Show.
In Site administration > Users > Permissions > User policies, the checkbox next to “Auto-login guests” is ticked.
In Course > Enrolment method, Guest access is enabled.
In Site administration > Security > Site security settings, Force users to login is ticked.
This all works very well. The problem is that if I log in as e.g. admin, and log out, I am taken to the Home page and it says 'You are currently using guest access'. I really cannot figure out why! It should not be taking me to that page at all since I have the Force login ticked.
Any ideas as to why this is happening, how to fix? It even happens when using an incognito window in different browser.
I am using Moodle 3.9.