diff --git a/src/main/java/com/petqa/base/Util.java b/src/main/java/com/petqa/base/Util.java index 8f2b58f..4515b25 100644 --- a/src/main/java/com/petqa/base/Util.java +++ b/src/main/java/com/petqa/base/Util.java @@ -8,8 +8,8 @@ public static Cookie createCookie(String key, String value) { Cookie cookie = new Cookie(key, value); cookie.setMaxAge(24 * 60 * 60); -// cookie.setSecure(true); -// cookie.setPath("/"); + cookie.setSecure(true); + cookie.setPath("/"); cookie.setHttpOnly(true); return cookie;