Permalink
Browse files

Fix cas default mode: client

  • Loading branch information...
1 parent 1943345 commit 59c0aab538ccb5136bc9ea1e4f52d2682ec5a3cc @c12simple c12simple committed on GitHub Sep 23, 2016
Showing with 4 additions and 0 deletions.
  1. +4 −0 core/src/plugins/authfront.cas/CasAuthFrontend.php
@@ -349,6 +349,10 @@ function loadConfig()
if (!empty($this->pluginConf["PHPCAS_MODE"]["casmode"])) {
$this->cas_mode = $this->pluginConf["PHPCAS_MODE"]["casmode"];
}
+ else{
+ $this->cas_mode = PHPCAS_MODE_CLIENT;
+ }
+
if (!empty($this->pluginConf["CERTIFICATE_PATH"])) {
$this->cas_certificate_path = trim($this->pluginConf["CERTIFICATE_PATH"]);
}

0 comments on commit 59c0aab

Please sign in to comment.