Skip to content
Snippets Groups Projects
Commit 1e91e366 authored by Thomas Misilo's avatar Thomas Misilo
Browse files

changed logic around to make more sense when reading

parent babf00f8
No related merge requests found
...@@ -196,7 +196,7 @@ class CAS extends AbstractBase ...@@ -196,7 +196,7 @@ class CAS extends AbstractBase
&& isset($config->CAS->logout) && isset($config->CAS->logout)
) { ) {
$casauth = $this->setupCAS(); $casauth = $this->setupCAS();
if ($casauth->checkAuthentication() !== true) { if ($casauth->checkAuthentication() === false) {
return true; return true;
} }
} }
......
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