Permalink
Browse files

[FIX] Avatar identity not registered

- The authenticator had the identity but not the avatar.
  • Loading branch information...
1 parent 6f2d087 commit 7f69f92508a26aa342580143efde5128908c4d20 @arescope arescope committed May 30, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 indico/MaKaC/authentication/NiceAuthentication.py
@@ -121,6 +121,8 @@ def autoLogin(self, rh):
if login != "" and not self.hasKey(login):
ni=NiceIdentity(login, av)
self.add(ni)
+ if login != "" and self.hasKey(login) and not av.getIdentityById(login, self.getId()):
+ av.addIdentity(self.getById(login))
return av
return None

0 comments on commit 7f69f92

Please sign in to comment.