Skip to content

Commit

Permalink
CIL-719 If no OIDC cookie is set for the current 'portal', attempt to…
Browse files Browse the repository at this point in the history
… use ONLY the 'providerId' from the most recent portal cookie.
  • Loading branch information
terrencegf committed Jun 4, 2020
1 parent 456718e commit e110ac2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Service/PortalCookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,10 @@ public function get($param)
(isset($this->portalarray[$name][$param]))
) {
$retval = $this->portalarray[$name][$param];
} else {
} elseif ($param == 'providerId') {
// CIL-719 If there is no portal cookie set for this
// particular 'portal name', then attempt to read values
// from the most recently set portal cookie.
// particular 'portal name', then attempt to read the
// 'providerId' value from the most recent portal cookie.
$pa = $this->portalarray; // Make a copy of the portalarary
// Ascending sort the array by 'ut'
uasort($pa, function ($a, $b) {
Expand Down

0 comments on commit e110ac2

Please sign in to comment.