feat: トークン手動発行機能
This commit is contained in:
parent
0a4499fd03
commit
0c1de7b1b6
7 changed files with 117 additions and 6 deletions
|
@ -78,7 +78,7 @@ router.post('/miauth/:session/check', async ctx => {
|
|||
session: ctx.params.session
|
||||
});
|
||||
|
||||
if (token && !token.fetched) {
|
||||
if (token && token.session != null && !token.fetched) {
|
||||
AccessTokens.update(token.id, {
|
||||
fetched: true
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue