Skip to content

Commit

Permalink
Merge pull request #93 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 bbd12f4 + c8733d4 commit 607c44c
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 Cookie createAccessTokenCookie(String email, UserRoleEnum role) {
cookie.setMaxAge((int) (ACCESS_TOKEN_TIME / 1000)); // 초 단위로 설정
cookie.setPath("/");
cookie.setHttpOnly(true);
cookie.setSecure(true);
cookie.setDomain(".culpop.shop");
return cookie;
}
Expand Down

0 comments on commit 607c44c

Please sign in to comment.