1

I had Moodle 3.11 i upgraded to 4.2 following the procedure from the docs. But after the upgrade, (i also moved it to a new VM) i notice that when ever I go to the platform, on the top right corner it shows that i'm connected anonnymously, next to the login button. I searched through the internet, the docs, checked my settings, but couldn't fix it .

I don't want anonymous acces, at all, i want that whenever anyone lands on my platform, that they directly face the login page, and have no access to anything at all unless they log in. I already disabled the anonymous connection button as many articles suggested but it doesn't solve the issue.

EDIT:

I've already done the following actions, but it did litterally nothing that can be seen. so the issue remains:

At "Security > Site security settings" /admin/settings.php?section=sitepolicies, enable the forcelogin option.

At "Security > Authentication > Manage" /admin/settings.php?section=manageauths (below the plugin list), set the guestloginbutton option to "Hide".

At "Users > Permissions > User policies" /admin/settings.php?section=userpolicies, disable the autologinguests option

Xsmael
  • 399

1 Answers1

5
  1. At "Security > Site security settings" /admin/settings.php?section=sitepolicies, enable the forcelogin option.

  2. At "Security > Authentication > Manage" /admin/settings.php?section=manageauths (below the plugin list), set the guestloginbutton option to "Hide".

  3. At "Users > Permissions > User policies" /admin/settings.php?section=userpolicies, disable the autologinguests option and make sure the other settings are correct (most of them should be set to their default value).

After you are done with these settings you have to clear the browser's cache or try with another one to see the changes take effect.

Deploying Moodle from Git would allow easier and therefore more frequent upgrades, without having to jump many versions at a time.

Xsmael
  • 399
grawity
  • 501,077