From e4bb822714a0e332c4ed003ffce677d677f89efa Mon Sep 17 00:00:00 2001 From: vicent Date: Tue, 22 Aug 2023 12:51:53 +0200 Subject: [PATCH] refs #6140 fix: el valor de ttl ya no es undefined --- front/core/services/token.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/core/services/token.js b/front/core/services/token.js index c16cc3c4f..426fe2b73 100644 --- a/front/core/services/token.js +++ b/front/core/services/token.js @@ -60,7 +60,7 @@ export default class Token { if (!this.token) return; const created = storage.getItem('vnTokenCreated'); this.created = created && new Date(created); - this.renewPeriod = storage.getItem('vnTokenRenewPeriod'); + this.ttl = storage.getItem('vnTokenTtl'); } setStorage(storage, token, created, ttl) {