From 6ae0e84a1a6a3645a0de96b85696488562c6c761 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Thu, 17 Jun 2021 09:28:45 +0100 Subject: [PATCH] Server: Tokens would expire too soon --- packages/server/src/models/TokenModel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/models/TokenModel.ts b/packages/server/src/models/TokenModel.ts index 69f4c7ed3..1976c4a6e 100644 --- a/packages/server/src/models/TokenModel.ts +++ b/packages/server/src/models/TokenModel.ts @@ -5,7 +5,7 @@ import BaseModel from './BaseModel'; export default class TokenModel extends BaseModel { - private tokenTtl_: number = 7 * 24 * 60 * 1000; + private tokenTtl_: number = 7 * 24 * 60 * 60 * 1000; public get tableName(): string { return 'tokens';