feat: Add more info to auth request
All checks were successful
Build Docker / Build Docker (push) Successful in 27s
All checks were successful
Build Docker / Build Docker (push) Successful in 27s
This commit is contained in:
parent
82eb3b925b
commit
2b7c586862
@ -151,6 +151,7 @@ def api_me():
|
||||
print(user.id, user.username, flush=True)
|
||||
userInfo = {
|
||||
"id": user.id,
|
||||
"uid": user.id,
|
||||
"username": user.username,
|
||||
"email": f"{user.username}@login.hns.au",
|
||||
"displayName": user.username + "/",
|
||||
@ -162,7 +163,8 @@ def api_me():
|
||||
"preferred_username": user.username,
|
||||
"profile": f"https://login.hns.au/u/{user.username}",
|
||||
"picture": f"https://login.hns.au/u/{user.username}/avatar",
|
||||
"website": f"https://{user.username}"
|
||||
"website": f"https://{user.username}",
|
||||
"email_verified": True
|
||||
}
|
||||
print(userInfo, flush=True)
|
||||
# a = [
|
||||
|
Loading…
Reference in New Issue
Block a user