From 906a6247006cdf92c1b94bb157df23169affa4f2 Mon Sep 17 00:00:00 2001 From: Antony Kurniawan Date: Mon, 20 Oct 2025 13:31:34 +0700 Subject: [PATCH] add: expires token 12h --- utils/jwt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/jwt.js b/utils/jwt.js index 4d5aaa4..5614be1 100644 --- a/utils/jwt.js +++ b/utils/jwt.js @@ -3,7 +3,7 @@ const crypto = require('crypto'); const tokenSettings = { access: { - expiresIn: '15m', + expiresIn: '12h', type: 'access', secret: process.env.SECRET },