ログインするたびにトークンが変わってしまい、別の端末でログインできない問題を修正
This commit is contained in:
parent
8843e7ae83
commit
c6fe014502
1 changed files with 1 additions and 3 deletions
|
@ -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 });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue