Skip to content

Commit

Permalink
fix: restore userinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
RaoHai committed Aug 22, 2024
1 parent 7074e09 commit a106c86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/auth/get_user_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ async def getUserInfoByToken(token):
"nickname": user_info.get("nickname"),
"name": user_info.get("name"),
"picture": user_info.get("picture"),
"avatar": user_info.get("picture"),
"sub": user_info["sub"],
"sid": secrets.token_urlsafe(32)
}
Expand Down

0 comments on commit a106c86

Please sign in to comment.