Skip to content

Commit

Permalink
Merge pull request #90 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 b698757 + 03eba7a commit d4fa8ae
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 d4fa8ae

Please sign in to comment.