diff options
| author | Andrew Lee <andrew@alee14.me> | 2025-03-24 01:29:33 -0400 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2025-03-24 01:29:33 -0400 |
| commit | 0453bafa63ccd1057279a1be9286b3e7ebcb62d2 (patch) | |
| tree | 0a71e0c06912a81ac009b196c5fee8dc9037cb60 /web/src/lib/auth.js | |
| parent | a19b6ed4ef829697fd0be153af5e27c99f267787 (diff) | |
| download | AleeBot-0453bafa63ccd1057279a1be9286b3e7ebcb62d2.tar.gz AleeBot-0453bafa63ccd1057279a1be9286b3e7ebcb62d2.tar.bz2 AleeBot-0453bafa63ccd1057279a1be9286b3e7ebcb62d2.zip | |
Depcreating web server, returning back to using Discord as settings
Diffstat (limited to 'web/src/lib/auth.js')
| -rw-r--r-- | web/src/lib/auth.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/web/src/lib/auth.js b/web/src/lib/auth.js index 3f78f94..28c34f1 100644 --- a/web/src/lib/auth.js +++ b/web/src/lib/auth.js @@ -4,13 +4,6 @@ import Discord from "next-auth/providers/discord" export const { handlers, signIn, signOut, auth } = NextAuth({ providers: [Discord({ authorization: { - profile(profile) { - return { - id: profile.id, - name: profile.username, - image: profile.image_url - } - }, url: "https://discord.com/api/oauth2/authorize", params: { scope: "identify guilds" }, } |
