Skip to content

Commit

Permalink
Merge pull request #6 from vokac/fix-missing-nickname-return
Browse files Browse the repository at this point in the history
Add missing nickname return
  • Loading branch information
enricovianello authored Mar 1, 2022
2 parents 0a55ce2 + ad3df1b commit 8de9181
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vomsimporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,8 @@ def resolve_cern_login_from_attributes(self, voms_user):
voms_user['id'])
return None

return nickname

def create_cern_sso_account_link(self, voms_user, iam_user, cern_login):
url = "%s://%s/scim/Users/%s" % (self._protocol,
self._host, iam_user['id'])
Expand Down

0 comments on commit 8de9181

Please sign in to comment.