I was wondering where can I retrieve the value that I turned on in
/admin/settings.php?section=httpsecurity
where I ticked Use HTTPS for logins
Thanks
If you are actually asking, "how do I turn off https logins that I turned on by mistake and now I am locked out?"...
In your config.php file add a line...
$CFG->loginhttps = 0;
Not exactly, more specifically I want to know where does
$CFG->loginhttps = 0;loginhttps is store in the database, which table?
The 'config' table (probably mdl_config). Where 'name' = 'loginhttps'.
Found it! Thanks!
Just to note, the settings set in config.php will override anything in the database.