Skip to content

Commit

Permalink
Fix regression of apereo#248: Support of longer session tickets (aper…
Browse files Browse the repository at this point in the history
  • Loading branch information
m0n1ker authored Jun 24, 2020
1 parent 3762ab8 commit 2c127af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/CAS/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ protected function _renameSession($ticket)
phpCAS :: trace("Killing session: ". session_id());
session_destroy();
// set up a new session, of name based on the ticket
$session_id = preg_replace('/[^a-zA-Z0-9\-]/', '', $ticket);
$session_id = $this->_sessionIdForTicket($ticket);
phpCAS :: trace("Starting session: ". $session_id);
session_id($session_id);
session_start();
Expand Down

0 comments on commit 2c127af

Please sign in to comment.