From a22a75b914e2dc8c553f28f7a6c4979e36ab2551 Mon Sep 17 00:00:00 2001 From: haemmer Date: Wed, 5 Dec 2012 08:04:42 +0000 Subject: [PATCH] Implemented #2360 --- templates.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/templates.php b/templates.php index 0c962fe..ce3b13b 100755 --- a/templates.php +++ b/templates.php @@ -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'); } } -- GitLab