Skip to content

Commit d475193

Browse files
committed
WIP auth expire
1 parent 4136afc commit d475193

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

service/src/core/auth/auth.service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ export class AuthService extends AbstractService implements OnModuleInit {
2727
protected readonly ACCESS_TOKEN_PREFIX = 'access_token'
2828
protected readonly REFRESH_TOKEN_PREFIX = 'refresh_token'
2929

30-
protected ACCESS_TOKEN_EXPIRES_IN = 10
30+
protected ACCESS_TOKEN_EXPIRES_IN = 5 * 60
3131
protected REFRESH_TOKEN_EXPIRES_IN = 3600 * 24 * 7
32+
//TODO: get data expire from config
3233

3334
public constructor(
3435
protected moduleRef: ModuleRef,

0 commit comments

Comments
 (0)