Fix (?) serialization of zoneinfo
This commit is contained in:
parent
9a8d5eb859
commit
5f82682484
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ def userinfo(claims, user):
|
||||||
claims['nickname'] = user.profile.nickname
|
claims['nickname'] = user.profile.nickname
|
||||||
claims['preferred_username'] = user.profile.preferred_username
|
claims['preferred_username'] = user.profile.preferred_username
|
||||||
claims['website'] = user.profile.website
|
claims['website'] = user.profile.website
|
||||||
claims['zoneinfo'] = user.profile.zoneinfo
|
claims['zoneinfo'] = str(user.profile.zoneinfo)
|
||||||
claims['phone_number'] = user.profile.phone_number
|
claims['phone_number'] = user.profile.phone_number
|
||||||
claims['phone_number_verified'] = user.profile.phone_number_verified
|
claims['phone_number_verified'] = user.profile.phone_number_verified
|
||||||
return claims
|
return claims
|
Loading…
Reference in a new issue