MDL-49360 core_lib: remove get_referer() call form auth ldap
This commit is contained in:
committed by
Andrew Nicols
parent
ad913a2d97
commit
06ae66043b
+1
-1
@@ -1686,7 +1686,7 @@ class auth_plugin_ldap extends auth_plugin_base {
|
||||
// we don't want to use at all. As we can't get rid of it, just point
|
||||
// $SESSION->wantsurl to $CFG->wwwroot (after all, we came from there).
|
||||
if (empty($SESSION->wantsurl)
|
||||
&& (get_referer() == $CFG->httpswwwroot.'/auth/ldap/ntlmsso_finish.php')) {
|
||||
&& (get_local_referer() == $CFG->httpswwwroot.'/auth/ldap/ntlmsso_finish.php')) {
|
||||
|
||||
$SESSION->wantsurl = $CFG->wwwroot;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user