Skip to content

Commit

Permalink
fix(jwt): email
Browse files Browse the repository at this point in the history
  • Loading branch information
esinx committed Sep 1, 2024
1 parent 50b23d6 commit faef2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/accounts/oauth2_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class LabsOAuth2Validator(OAuth2Validator):
def get_additional_claims(self, request):
return {
"name": request.user.preferred_name or request.user.get_full_name(),
"email": request.user.email,
"email": request.user.get_email(),
"pennid": request.user.pennid,
"is_staff": request.user.is_staff,
"is_active": request.user.is_active,
Expand Down

0 comments on commit faef2d3

Please sign in to comment.