We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4136afc commit d475193Copy full SHA for d475193
service/src/core/auth/auth.service.ts
@@ -27,8 +27,9 @@ export class AuthService extends AbstractService implements OnModuleInit {
27
protected readonly ACCESS_TOKEN_PREFIX = 'access_token'
28
protected readonly REFRESH_TOKEN_PREFIX = 'refresh_token'
29
30
- protected ACCESS_TOKEN_EXPIRES_IN = 10
+ protected ACCESS_TOKEN_EXPIRES_IN = 5 * 60
31
protected REFRESH_TOKEN_EXPIRES_IN = 3600 * 24 * 7
32
+ //TODO: get data expire from config
33
34
public constructor(
35
protected moduleRef: ModuleRef,
0 commit comments