diff --git a/src/client/account.ts b/src/client/account.ts index 63c68487fc..b11d665545 100644 --- a/src/client/account.ts +++ b/src/client/account.ts @@ -122,7 +122,7 @@ export async function login(token: Account['token'], redirect?: string) { await addAccount(me.id, token); if (redirect) { - reloadChannel.postMessage('reload'); + reloadChannel.postMessage(null); location.href = redirect; return; }