Skip to content

Commit

Permalink
fix: restore userinfo (#255)
Browse files Browse the repository at this point in the history
- 头像字段
  • Loading branch information
RaoHai authored Aug 22, 2024
2 parents bf88b1b + a106c86 commit a203793
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 a203793

Please sign in to comment.