Skip to content
Snippets Groups Projects
Commit 19512911 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Bug fix in fallback handling in smartname module

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1423 44740490-163a-0410-bde0-09ae8108e29a
parent 82863c2a
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ class sspmod_smartnameattribute_Auth_Process_SmartName extends SimpleSAML_Auth_P
return $attributes['givenName'][0];
if (isset($attributes['eduPersonPrincipalName'])) {
$localname = $this->getLocalUser($attributes['eduPersonPrincipalName']);
$localname = $this->getLocalUser($attributes['eduPersonPrincipalName'][0]);
if (isset($localname)) return $localname;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment