diff --git a/src/main/java/com/umc/naoman/global/security/util/CookieUtils.java b/src/main/java/com/umc/naoman/global/security/util/CookieUtils.java index 54742d7..3ca1634 100644 --- a/src/main/java/com/umc/naoman/global/security/util/CookieUtils.java +++ b/src/main/java/com/umc/naoman/global/security/util/CookieUtils.java @@ -16,8 +16,8 @@ public static void addCookie(HttpServletResponse response, String name, String v cookie.setPath("/"); cookie.setMaxAge(maxAge); // HTTPS 적용 시 함께 적용 - // cookie.setSecure(true); - // cookie.setHttpOnly(true); + cookie.setSecure(true); + cookie.setHttpOnly(true); response.addCookie(cookie); }