Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 378c6be

Browse files
committed
Fixed name of the UID attribute
1 parent 9dc55dc commit 378c6be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Auth/Process/ProcessTargetedID.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function process(&$request)
7575

7676
# Set attributes back to the response
7777
# Set uid and also eduPersonPrincipalName, so all the modules and Perun will be happy
78-
$request['Attributes'][$this->uidAttr] = array($newEduPersonPrincipalName);
78+
$request['Attributes']['uid'] = array($newEduPersonPrincipalName);
7979
# TODO line below must be removed after ELIXIR will be switched to default behaviour, so Perun will consume original eppn and entityID
8080
if (!isset($request['Attributes']['eduPersonPrincipalName']) || empty($request['Attributes']['eduPersonPrincipalName'])) {
8181
$request['Attributes']['eduPersonPrincipalName'] = array($newEduPersonPrincipalName);

0 commit comments

Comments
 (0)