Skip to content

Commit

Permalink
feat: give CAS attributes in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
EwoutV committed Mar 12, 2024
1 parent a37c8cb commit 8ff97c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/authentication/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def validate(self, data):

# Return access tokens for the now logged-in user.
return {
"attributes": attributes,
"access": str(AccessToken.for_user(user)),
"refresh": str(RefreshToken.for_user(user)),
}
Expand Down

0 comments on commit 8ff97c8

Please sign in to comment.