Skip to content

Commit

Permalink
Merge pull request #96 from IxxP-Girls/modify
Browse files Browse the repository at this point in the history
Fix: 쿠키 유효시간 설정
  • Loading branch information
diddnwjd authored Mar 7, 2024
2 parents 119076c + 592c66e commit ff14a16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/ixxp/culpop/util/jwtutil/JwtUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public ResponseCookie createAccessTokenCookie(String email, UserRoleEnum role) {

return ResponseCookie.from("AccessToken", accessToken)
.path("/")
.maxAge(ACCESS_TOKEN_TIME/1000)
.httpOnly(true)
.secure(true)
.sameSite("None")
Expand Down

0 comments on commit ff14a16

Please sign in to comment.