diff --git a/include/limesurvey/admin/login_check_cas.php b/include/limesurvey/admin/login_check_cas.php index 8ebb6690..417b5b0f 100644 --- a/include/limesurvey/admin/login_check_cas.php +++ b/include/limesurvey/admin/login_check_cas.php @@ -18,7 +18,7 @@ if (!isset($action)) {$action=returnglobal('action');} // phpCAS simple client // -if(!isset($_SESSION['CASauthenticated']) || (isset($_SESSION['CASauthenticated']) && $_SESSION['CASauthenticated']==FALSE) || isset($_REQUEST['action'])) +if(!isset($_SESSION['CASauthenticated']) || (isset($_SESSION['CASauthenticated']) && $_SESSION['CASauthenticated']==FALSE) || (isset($_REQUEST['action']) && $_REQUEST['action'] =='logout') ) { //echo "bla"; // import phpCAS lib