mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 05:53:09 +02:00
no token expiration?
This commit is contained in:
parent
1567a2ea3e
commit
0b3fd09bb0
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue