Skip to content
Snippets Groups Projects
Commit e0364c63 authored by Michael Fairchild's avatar Michael Fairchild
Browse files

//prevent auto-login for the icondirect.php endpoint too

parent a65f2c54
Branches
No related tags found
No related merge requests found
...@@ -164,6 +164,11 @@ class UnlCAS { ...@@ -164,6 +164,11 @@ class UnlCAS {
return; return;
} }
if (false !== strpos($_SERVER['REQUEST_URI'], '/mod/profile/icondirect.php')) {
//prevent auto-login for the icondirect.php endpoint too
return;
}
if (!array_key_exists('unl_sso', $_COOKIE)) { if (!array_key_exists('unl_sso', $_COOKIE)) {
//No unl_sso cookie was found, no need to auto-login. //No unl_sso cookie was found, no need to auto-login.
return; return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment