From 2b89c56b378e457e359c7732e13248560847db94 Mon Sep 17 00:00:00 2001 From: Black-Hole <158blackhole@gmail.com> Date: Sat, 4 Dec 2021 23:01:38 +0800 Subject: [PATCH] refactor(web): revert login github open new window (#1171) --- web/flat-web/src/pages/LoginPage/githubLogin.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/web/flat-web/src/pages/LoginPage/githubLogin.ts b/web/flat-web/src/pages/LoginPage/githubLogin.ts index 61368a277e7..0c94fb30b06 100644 --- a/web/flat-web/src/pages/LoginPage/githubLogin.ts +++ b/web/flat-web/src/pages/LoginPage/githubLogin.ts @@ -21,13 +21,7 @@ export const githubLogin: LoginExecutor = onSuccess => { errorTips(err); } - void window - .open( - getGithubURL(authUUID), - "LoginWithGithub", - "width=640,height=550,menubar=0,scrollbars=1,resizable=1,status=1,titlebar=0,toolbar=0,location=1", - ) - ?.focus(); + void window.open(getGithubURL(authUUID)); const githubLoginProcessRequest = async (): Promise => { try {