This commit is contained in:
syuilo 2019-04-16 01:05:21 +09:00
parent f44dc2dd05
commit bce8c5a315
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
3 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@ export default define(meta, async (ps, user) => {
}
// Generate access token
const accessToken = '1' + rndstr('a-zA-Z0-9', 15);
const accessToken = rndstr('a-zA-Z0-9', 32);
// Fetch exist access token
const exist = await AccessTokens.findOne({