Browse Source
fix: change discord module ‘discordapp.com’ to ‘discord.com’ (#2117)
pull/2126/head
Maho Hiyajo
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
server/modules/authentication/discord/authentication.js
|
|
@ -13,7 +13,7 @@ module.exports = { |
|
|
|
new DiscordStrategy({ |
|
|
|
clientID: conf.clientId, |
|
|
|
clientSecret: conf.clientSecret, |
|
|
|
authorizationURL: 'https://discordapp.com/api/oauth2/authorize?prompt=none', |
|
|
|
authorizationURL: 'https://discord.com/api/oauth2/authorize?prompt=none', |
|
|
|
callbackURL: conf.callbackURL, |
|
|
|
scope: 'identify email guilds' |
|
|
|
}, async (accessToken, refreshToken, profile, cb) => { |
|
|
|