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 16bd009 commit 03eba7a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/com/ixxp/culpop/util/jwtutil/JwtUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ public Cookie createAccessTokenCookie(String email, UserRoleEnum role) {
Cookie cookie = new Cookie("AccessToken", accessToken);
cookie.setMaxAge((int) (ACCESS_TOKEN_TIME / 1000)); // 초 단위로 설정
cookie.setPath("/");
cookie.setSecure(true);
cookie.setHttpOnly(true);
return cookie;
}
Expand Down

0 comments on commit 03eba7a

Please sign in to comment.