Skip to content
Permalink
Browse files

Update auth.php

bugfix: display_name_tpl was overwritten by var_display_name
  • Loading branch information...
leckerkaffee committed Dec 13, 2016
1 parent cdb7ad0 commit 7427f6415843356c9478516d60a518677f08222e
Showing with 3 additions and 3 deletions.
  1. +3 −3 plugin/authshibboleth/auth.php
@@ -514,12 +514,12 @@ protected function retrieveUserDisplayName()
{
$userDisplayName = null;
$tplUserDisplayName = $this->getConf(self::CONF_DISPLAY_NAME_TPL);
$userDisplayNameVar = $this->getConf(self::CONF_VAR_DISPLAY_NAME);
if ($tplUserDisplayName) {
$userDisplayName = $this->retrieveUserDisplayNameFromTpl($tplUserDisplayName);
}
$userDisplayNameVar = $this->getConf(self::CONF_VAR_DISPLAY_NAME);
if ($userDisplayNameVar) {
else if ($userDisplayNameVar) {
$userDisplayName = $this->getShibVar($userDisplayNameVar);
}

0 comments on commit 7427f64

Please sign in to comment.
You can’t perform that action at this time.