Skip to content

Commit

Permalink
fix: bug url cas dynamique
Browse files Browse the repository at this point in the history
  • Loading branch information
lvillanne-recia committed Jul 4, 2024
1 parent 4ba2cb1 commit f470ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Security/CasAuthenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function authenticate(Request $request): Passport
$casServiceBaseUrl = str_replace('%DOMAIN%', $request->server->get('SERVER_NAME'), $casServiceBaseUrl);
}

\phpCAS::client(CAS_VERSION_2_0, $this->getParameter('host'), $this->getParameter('port'), is_null($this->getParameter('path')) ? '' : $this->getParameter('path'), $this->getParameter('casServiceBaseUrl'), true);
\phpCAS::client(CAS_VERSION_2_0, $this->getParameter('host'), $this->getParameter('port'), is_null($this->getParameter('path')) ? '' : $this->getParameter('path'), $casServiceBaseUrl, true);

if(is_bool($this->getParameter('ca')) && $this->getParameter('ca') == false) {
\phpCAS::setNoCasServerValidation();
Expand Down

0 comments on commit f470ed0

Please sign in to comment.