mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-27 15:05:38 -04:00
[auth] save full discord username, useful for authenticating when asked to reset access
This commit is contained in:
parent
17f35d1ddb
commit
5f26dd7e76
@ -71,6 +71,7 @@ module.exports.handlers = {
|
|||||||
id: r.profile.id,
|
id: r.profile.id,
|
||||||
email: r.profile.email,
|
email: r.profile.email,
|
||||||
name: r.profile.username,
|
name: r.profile.username,
|
||||||
|
username: r.profile.username + '#' + r.profile.discriminator,
|
||||||
avatar: `https://cdn.discordapp.com/avatars/${r.profile.id}/${r.profile.avatar}`,
|
avatar: `https://cdn.discordapp.com/avatars/${r.profile.id}/${r.profile.avatar}`,
|
||||||
access_token: r.access_token,
|
access_token: r.access_token,
|
||||||
access_secret: r.access_secret,
|
access_secret: r.access_secret,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user