From 9ee5d737d0f757e6d187b36de0612ad1112b129f Mon Sep 17 00:00:00 2001 From: baeksom <97323941+baeksom@users.noreply.github.com> Date: Fri, 7 Jun 2024 00:46:48 +0900 Subject: [PATCH] =?UTF-8?q?[TEST]:=20=EC=97=91=EC=84=B8=EC=8A=A4=ED=86=A0?= =?UTF-8?q?=ED=81=B0=20=EC=8B=9C=EA=B0=84=20=EC=A6=9D=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../KGUcapstone/OutDecision/global/common/util/JwtUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/KGUcapstone/OutDecision/global/common/util/JwtUtil.java b/src/main/java/KGUcapstone/OutDecision/global/common/util/JwtUtil.java index 6476026..1eaee15 100644 --- a/src/main/java/KGUcapstone/OutDecision/global/common/util/JwtUtil.java +++ b/src/main/java/KGUcapstone/OutDecision/global/common/util/JwtUtil.java @@ -66,8 +66,8 @@ public String generateRefreshToken(String email, String role) { public String generateAccessToken(String email, String role) { -// long tokenPeriod = 1000L * 60L * 30L; // 30분 - long tokenPeriod = 1000L * 10L; + long tokenPeriod = 1000L * 60L * 60L * 10L; // 1시간 +// long tokenPeriod = 1000L * 10L; Claims claims = Jwts.claims().setSubject(email); claims.put("role", role);