This commit is contained in:
tamaina 2021-10-29 01:02:23 +09:00
parent 9cfe3dfa3b
commit 1eb6137dbc

View file

@ -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;
}