Skip to content

Commit

Permalink
CIL-393 When forcing skin, callbackURL takes precedence over selected…
Browse files Browse the repository at this point in the history
… IdP.
  • Loading branch information
terrencegf committed Jun 9, 2017
1 parent c615f2c commit f6857a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Service/Skin.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ public function findSkinName()
$skinvar = '';

// Check for matching IdP or callbackURI in the forceskin.txt file
$uristocheck = array(Util::getSessionVar('idp'),
Util::getSessionVar('callbackuri'));
$uristocheck = array(Util::getSessionVar('callbackuri'),
Util::getSessionVar('idp'));
foreach ($uristocheck as $value) {
if (strlen($value) > 0) {
$skin = $this->getForceSkin($value);
Expand Down

0 comments on commit f6857a1

Please sign in to comment.