From a90afcb52273591527f8015cc7056f8637bc0182 Mon Sep 17 00:00:00 2001 From: parksey Date: Sun, 3 Dec 2023 15:58:53 +0900 Subject: [PATCH] =?UTF-8?q?hotfix:=20=EC=84=9C=EB=B8=8C=20=EB=8F=84?= =?UTF-8?q?=EB=A9=94=EC=9D=B8=20=EA=B4=80=EB=A0=A8=20=EA=B8=B0=EB=8A=A5=20?= =?UTF-8?q?rollback?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/moabam/global/common/util/CookieUtils.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/com/moabam/global/common/util/CookieUtils.java b/src/main/java/com/moabam/global/common/util/CookieUtils.java index f45ae1fe..eef1d32c 100644 --- a/src/main/java/com/moabam/global/common/util/CookieUtils.java +++ b/src/main/java/com/moabam/global/common/util/CookieUtils.java @@ -11,7 +11,6 @@ public static Cookie tokenCookie(String name, String value, long expireTime, Str Cookie cookie = new Cookie(name, value); cookie.setSecure(true); cookie.setHttpOnly(true); - cookie.setDomain(".moabam.com"); cookie.setPath("/"); cookie.setMaxAge((int)expireTime); cookie.setAttribute("SameSite", "Lax"); @@ -23,7 +22,6 @@ public static Cookie typeCookie(String value, long expireTime, String domain) { Cookie cookie = new Cookie("token_type", value); cookie.setSecure(true); cookie.setHttpOnly(true); - cookie.setDomain(".moabam.com"); cookie.setPath("/"); cookie.setMaxAge((int)expireTime); cookie.setAttribute("SameSite", "Lax");