Skip to content

Commit

Permalink
Enable group updates on login
Browse files Browse the repository at this point in the history
  • Loading branch information
dasGoogle authored and jeriox committed Feb 7, 2024
1 parent b637733 commit e3508fe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions myhpi/core/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ def update_user(self, user, claims):
user.email = claims.get("email")
user.first_name = claims.get("given_name", "")
user.last_name = claims.get("family_name", "")
# group updating currently disabled until all groups are migrated to keycloak
# self._update_groups(user, claims)
self._update_groups(user, claims)
user.save()

return user
Expand Down

0 comments on commit e3508fe

Please sign in to comment.