Skip to content

Commit

Permalink
#35 [Update] 쿠키 삭제가 안되는 문제
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna-Jin committed Jul 19, 2022
1 parent 461fdec commit 778a1fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/mpnp/baechelin/util/CookieUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public static void deleteCookie(HttpServletRequest request, HttpServletResponse
cookie.setPath("/");
cookie.setMaxAge(0);

response.addCookie(cookie);
response.addHeader("Set-Cookie", cookie.toString());
}
}
}
Expand Down

0 comments on commit 778a1fb

Please sign in to comment.