Skip to content

Commit 76e1b75

Browse files
committed
update phpcas version
1 parent c4063c2 commit 76e1b75

File tree

4 files changed

+147
-4
lines changed

4 files changed

+147
-4
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
vendor
2-
composer.lock
32
composer.phar
43
*.pem

CASLogin.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ function authenticate()
110110
$cas_server_ca_cert_id = $this->getSystemSetting("cas-server-ca-cert-pem");
111111
$cas_server_ca_cert_path = $this->getFile($cas_server_ca_cert_id);
112112
$server_force_https = $this->getSystemSetting("server-force-https");
113+
$service_base_url = APP_PATH_WEBROOT_FULL;
113114

114115
// Enable https fix
115116
if ($server_force_https == 1) {
@@ -120,7 +121,7 @@ function authenticate()
120121
}
121122

122123
// Initialize phpCAS
123-
\phpCAS::client(CAS_VERSION_2_0, $cas_host, $cas_port, $cas_context);
124+
\phpCAS::client(CAS_VERSION_2_0, $cas_host, $cas_port, $cas_context, $service_base_url);
124125

125126
// Set the CA certificate that is the issuer of the cert
126127
// on the CAS server

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"require": {
3-
"jasig/phpcas": "1.3.3"
3+
"jasig/phpcas": "1.6.1"
44
},
55
"config": {
66
"platform": {
77
"php": "7.4.00"
88
}
99
}
10-
}
10+
}

composer.lock

Lines changed: 143 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)