"Force users to log in" not working

"Force users to log in" not working

by Mph Live -
Number of replies: 2

Hi,

I have latest version of Moodle and Adaptable theme. No other plugins. The "Force users to log in" seems to be not working.

I have checked the forcelogin field in settings.

Option Auto-login guests has also been turned off.

I don't have any public courses and don't allow guest access at all.

Still, it is possible to view pages, course info etc. when not logged in, also front page does not direct to log in, but shows an empty front page.

Any ideas what else I could try to fix it?

Average of ratings: -
In reply to Mph Live

Απάντ: "Force users to log in" not working

by Irini Pateli -

I am facing the same problem. Are there perhaps any updates to this?

In reply to Mph Live

Re: "Force users to log in" not working

by Carlos Alvarez Fullgraff -

I have the same problem, after upgrade from 3.6.x version to 3.9.19 version
In a new installation, I havent problem with show the public front page, but....
with a procedure of upgrating... 
forcelogin value, as constant in config.php or as value in table config (value 0 or 1)
not produce change in this problem.
As the code read another row.... 
realy, I dont know what happens

Thank if somepeople can help us
Carlos

PHP 7.3
postgresql 10.2
apache
linux