Skip to content

Commit

Permalink
fix(jwt): email (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
esinx authored Sep 1, 2024
1 parent 50b23d6 commit b4b5781
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 b4b5781

Please sign in to comment.