Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix cas default mode: client
Browse files Browse the repository at this point in the history
  • Loading branch information
c12simple committed Sep 23, 2016
1 parent 1943345 commit 59c0aab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/plugins/authfront.cas/CasAuthFrontend.php
Expand Up @@ -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"]);
}
Expand Down

0 comments on commit 59c0aab

Please sign in to comment.