Visitors get automatically connected anonymously, how to prevent that?

Re: Visitors get automatically connected anonymously, how to prevent that?

by Ken Task -
Number of replies: 0
Picture of Particularly helpful Moodlers
For immediate fix, add the following to your config.php file at code root:

$CFG->autologinguests='0';
$CFG->guestloginbutton='1';
$CFG->allowguestmymoodle='1';

Could set all above to '0'.   No need to restart any service,  just browse to site.

There are many places in config of site related to guest.
Suggesting using Admin search for 'guest'.
https://yoursite
/admin/search.php?query=guest

'SoS', Ken

Average of ratings: Useful (1)