Skip to content

Commit

Permalink
Fix: 쿠키 만료 시간 형식 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
diddnwjd committed Mar 7, 2024
1 parent 5188f04 commit 979f7b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/ixxp/culpop/service/UserService.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void login(UserLoginRequest userLoginRequest, HttpServletResponse respons

// Cookie 로 refreshToken 반환
ResponseCookie cookie = ResponseCookie.from("RefreshToken", refreshToken)
.maxAge(Duration.ofDays(7))
.maxAge(Duration.ofDays(7).getSeconds())
.path("/")
.secure(true)
.sameSite("None")
Expand Down

0 comments on commit 979f7b5

Please sign in to comment.