From 5f26dd7e764bbe39a36bec98f3c1cc5ee076e6e6 Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Mon, 29 Aug 2022 22:08:33 +0200 Subject: [PATCH] [auth] save full discord username, useful for authenticating when asked to reset access --- server/social.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/social.js b/server/social.js index 9f3713e95..5c12e9187 100644 --- a/server/social.js +++ b/server/social.js @@ -71,6 +71,7 @@ module.exports.handlers = { id: r.profile.id, email: r.profile.email, name: r.profile.username, + username: r.profile.username + '#' + r.profile.discriminator, avatar: `https://cdn.discordapp.com/avatars/${r.profile.id}/${r.profile.avatar}`, access_token: r.access_token, access_secret: r.access_secret,