mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-06 01:15:56 +02:00
feat: introduce bull dashboard
This commit is contained in:
@@ -116,6 +116,7 @@ export async function login(token: Account['token'], redirect?: string) {
|
||||
if (_DEV_) console.log('logging as token ', token);
|
||||
const me = await fetchAccount(token);
|
||||
localStorage.setItem('account', JSON.stringify(me));
|
||||
document.cookie = `token=${token}; path=/; max-age=31536000`; // bull dashboardの認証とかで使う
|
||||
await addAccount(me.id, token);
|
||||
|
||||
if (redirect) {
|
||||
|
||||
Reference in New Issue
Block a user