aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2021-03-16 16:06:14 +0200
committerGravatar GitHub <[email protected]>2021-03-16 16:06:14 +0200
commit26c6585ddb747dbaaa160a04a097bf770dc30242 (patch)
tree942bbce45590b1b2575c3649a481159b1ee4fdf3 /src
parentMerge branch 'main' into hcaptcha (diff)
parentMerge pull request #185 from python-discord/dependabot/npm_and_yarn/webpack-m... (diff)
Merge branch 'main' into hcaptchahcaptcha
Diffstat (limited to 'src')
-rw-r--r--src/api/auth.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/api/auth.ts b/src/api/auth.ts
index 024292c..dd1f749 100644
--- a/src/api/auth.ts
+++ b/src/api/auth.ts
@@ -106,8 +106,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`,
- "Discord_OAuth2",
- "height=700,width=500,location=no,menubar=no,resizable=no,status=no,titlebar=no,left=300,top=300"
+ "Discord_OAuth2"
);
// Clean up on login