mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
no token expiration?
This commit is contained in:
parent
1567a2ea3e
commit
0b3fd09bb0
@ -301,6 +301,7 @@ export class OAuth2ProviderService {
|
||||
const accessToken = secureRndstr(128, true);
|
||||
const now = new Date();
|
||||
|
||||
// NOTE: we don't have a setup for automatic token expiration
|
||||
await accessTokensRepository.insert({
|
||||
id: idService.genId(),
|
||||
createdAt: now,
|
||||
|
Loading…
Reference in New Issue
Block a user