From 1e91e366a7ddbc6bd794d9f6c8f85cc31c9974bf Mon Sep 17 00:00:00 2001
From: Thomas Misilo <tmisilo@gmail.com>
Date: Fri, 25 Oct 2013 13:37:07 -0400
Subject: [PATCH] changed logic around to make more sense when reading

---
 module/VuFind/src/VuFind/Auth/CAS.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/VuFind/src/VuFind/Auth/CAS.php b/module/VuFind/src/VuFind/Auth/CAS.php
index a3df80173d4..18f5ddb1a83 100644
--- a/module/VuFind/src/VuFind/Auth/CAS.php
+++ b/module/VuFind/src/VuFind/Auth/CAS.php
@@ -196,7 +196,7 @@ class CAS extends AbstractBase
             && isset($config->CAS->logout)
         ) {
             $casauth = $this->setupCAS();
-            if ($casauth->checkAuthentication() !== true) {
+            if ($casauth->checkAuthentication() === false) {
                 return true;
             }
         }
-- 
GitLab