diff --git a/src/main/java/com/bit/lot/flower/auth/common/util/CookieUtil.java b/src/main/java/com/bit/lot/flower/auth/common/util/CookieUtil.java index 7dc6814..44beb78 100644 --- a/src/main/java/com/bit/lot/flower/auth/common/util/CookieUtil.java +++ b/src/main/java/com/bit/lot/flower/auth/common/util/CookieUtil.java @@ -20,7 +20,7 @@ public static Cookie createCookie(String name, String value, int maxAge,String d cookie.setMaxAge(maxAge); cookie.setPath("/"); cookie.setDomain(domain); - cookie.setSecure(false); + cookie.setSecure(true); cookie.setHttpOnly(true); return cookie; }