0
0
Fork 0

ログインするたびにトークンが変わってしまい、別の端末でログインできない問題を修正

This commit is contained in:
Xeltica 2022-11-28 14:54:17 +09:00
parent 8843e7ae83
commit c6fe014502

View file

@ -183,7 +183,5 @@ async function login(ctx: Context, user: Record<string, unknown>, host: string,
});
}
const toolsToken = await updateUsersToolsToken(u);
await ctx.render('frontend', { token: toolsToken });
await ctx.render('frontend', { token: u.misshaiToken });
}