Skip to content

Commit

Permalink
refactor(web): revert login github open new window (#1171)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackHole1 committed Dec 4, 2021
1 parent 537f898 commit 2b89c56
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions web/flat-web/src/pages/LoginPage/githubLogin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> => {
try {
Expand Down

0 comments on commit 2b89c56

Please sign in to comment.