null
This commit is contained in:
parent
9cfe3dfa3b
commit
1eb6137dbc
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue