Commit a22a75b9 authored by haemmer's avatar haemmer

Implemented #2360

parent 629a3908
......@@ -629,14 +629,8 @@ function isUserLoggedIn(){
return wayf_check_login_state_function();
} else {
// Check if Shibboleth session cookie exists
var shibSessionCookieExists = isCookie('shibsession');
// Check if Shibboleth session handler
var shibSessionHandlerShowsSession = isShibbolethSession(wayf_sp_handlerURL + '/Session');
// Return true if one of these checks is succsesful
return (shibSessionCookieExists || shibSessionHandlerShowsSession);
// Check Shibboleth session handler
return isShibbolethSession(wayf_sp_handlerURL + '/Session');
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment