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

Commit 59c0aab

Browse files
authored
Fix cas default mode: client
1 parent 1943345 commit 59c0aab

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/src/plugins/authfront.cas/CasAuthFrontend.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,10 @@ function loadConfig()
349349
if (!empty($this->pluginConf["PHPCAS_MODE"]["casmode"])) {
350350
$this->cas_mode = $this->pluginConf["PHPCAS_MODE"]["casmode"];
351351
}
352+
else{
353+
$this->cas_mode = PHPCAS_MODE_CLIENT;
354+
}
355+
352356
if (!empty($this->pluginConf["CERTIFICATE_PATH"])) {
353357
$this->cas_certificate_path = trim($this->pluginConf["CERTIFICATE_PATH"]);
354358
}

0 commit comments

Comments
 (0)