Skip to content

Commit

Permalink
refactor : 리프레쉬 쿠키 시간 재설정
Browse files Browse the repository at this point in the history
  • Loading branch information
MyunghyunNero committed Nov 22, 2023
1 parent a58988e commit 76fd537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/kusitms/gallae/global/jwt/CookieUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static void addCookie(HttpServletResponse response, String name, String v
.httpOnly(true)
.secure(true)
.sameSite("None")
.maxAge(-1)
.maxAge(3600*6)
.build();

response.addHeader("Set-Cookie", responseCookie.toString());
Expand Down

0 comments on commit 76fd537

Please sign in to comment.