aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2022-06-18 02:29:44 +0400
committerGravatar GitHub <[email protected]>2022-06-18 02:29:44 +0400
commit21d68d4a467eb960a6ff0b9b619bdf8f30efe700 (patch)
treef0653e47bd7cadbeb8455c98dcd3aa8d05d1e11c /src
parentFix rendering error message for failed unit tests. (diff)
parentMerge pull request #447 from python-discord/dependabot/npm_and_yarn/webpack-5... (diff)
Merge branch 'main' into snekbox-results-feedback
Diffstat (limited to 'src')
-rw-r--r--src/api/auth.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/auth.ts b/src/api/auth.ts
index dd1f749..7f01b9d 100644
--- a/src/api/auth.ts
+++ b/src/api/auth.ts
@@ -105,7 +105,7 @@ export async function getDiscordCode(scopes: OAuthScopes[], disableFunction?: (d
// Open login window
const windowRef = window.open(
- `https://discord.com/api/oauth2/authorize?client_id=${OAUTH2_CLIENT_ID}&state=${state}&response_type=code&scope=${scopeString}&redirect_uri=${redirectURI}&prompt=none`,
+ `https://discord.com/api/oauth2/authorize?client_id=${OAUTH2_CLIENT_ID}&state=${state}&response_type=code&scope=${scopeString}&redirect_uri=${redirectURI}&prompt=consent`,
"Discord_OAuth2"
);