Details
-
Type:
Sub-task
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.9
-
Fix Version/s: DEV backlog
-
Component/s: Authentication
-
Labels:
-
Affected Branches:MOODLE_19_STABLE
Description
With HTTPS (probably not pertinent) and NTLM SSO enabled, the autologinguest does not log in visitors to course URLs using the guest account. This is because the call to auth plugins' loginpage_hook functions in login/index.php happens before the check for a guest login.
Moodle forum discussion:
http://moodle.org/mod/forum/discuss.php?d=121761
Please can someone have a look at the following suggested patch for sanity or glaring security ramifications before I commit it
http://git.catalyst.net.nz/gitweb?p=moodle-r2.git;a=commitdiff;h=133e18d281e89449f5544092132681563a5c9fdf
Cheers, J
I do not like the patch at all, we can not skip the hooks this way, I guess you can add the guest exception into your plugin