Skip to content

Commit

Permalink
일단 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna-Jin committed Jul 20, 2022
1 parent 910e280 commit e04d82f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/main/java/com/mpnp/baechelin/util/CookieUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@ public static void addCookie(HttpServletResponse response, String name, String v
.build();

response.addHeader("Set-Cookie", cookie.toString());
// Cookie cookie = new Cookie(name, value);
//
// cookie.setPath("/");
// cookie.setHttpOnly(true); // XSS 공격을 막기 위한 설정
// cookie.setMaxAge(maxAge);
// cookie.setSecure(true);
//
// response.addCookie(cookie);
}

// 쿠키 삭제
Expand Down

0 comments on commit e04d82f

Please sign in to comment.