Skip to content

Commit

Permalink
fix: add stripcard expiration date to JWT token (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoesbergen authored Aug 7, 2024
1 parent 9368943 commit ee7b686
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LedenAdministratie/oidc.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def get_additional_claims(self) -> dict:
{
"count": request.user.member.active_stripcard.count,
"used": request.user.member.active_stripcard.used,
"expires": request.user.member.active_stripcard.expiration_date,
}
if request.user.member.active_stripcard
else None
Expand Down

0 comments on commit ee7b686

Please sign in to comment.