Skip to content
Snippets Groups Projects
Commit 38fe1217 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

the CAS auto login is redirecting in a loop for unregistered users - disable for now

parent 04420f29
No related branches found
No related tags found
No related merge requests found
......@@ -4,11 +4,11 @@
function unl_theme_init(){
//If user is signed into UNL SSO but not planet red and they visit planet red - try logging them in
if ($_COOKIE['unl_sso'] && !isloggedin() && get_input('action') != 'login') {
/* if ($_COOKIE['unl_sso'] && !isloggedin() && get_input('action') != 'login') {
$ts = time();
$token = generate_action_token($ts);
forward($CONFIG->url.'action/login?usecas=yes&email='.$email.'&__elgg_ts='.$ts.'&__elgg_token='.$token.'&view='.$view);
}
} */
}
// Initialise log browser
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment