This commit is contained in:
tamaina 2021-10-29 01:02:23 +09:00
parent 9cfe3dfa3b
commit 1eb6137dbc
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ export async function login(token: Account['token'], redirect?: string) {
await addAccount(me.id, token); await addAccount(me.id, token);
if (redirect) { if (redirect) {
reloadChannel.postMessage('reload'); reloadChannel.postMessage(null);
location.href = redirect; location.href = redirect;
return; return;
} }