feat: Add more info to auth request
All checks were successful
Build Docker / Build Docker (push) Successful in 27s

This commit is contained in:
Nathan Woodburn 2024-06-13 16:13:27 +10:00
parent 82eb3b925b
commit 2b7c586862
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -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 = [