Skip to content

Commit fc98dfc

Browse files
authored
Merge pull request #50 from WishWesee/develop
[DEPLOY]
2 parents a9d86b9 + a84f2a5 commit fc98dfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/depth/main/wishwesee/global/config/security/util/CustomCookie.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public static void addCookie(HttpServletResponse response, String name, String v
2828
Cookie cookie = new Cookie(name, value);
2929

3030
cookie.setPath("/");
31-
cookie.setHttpOnly(true);
31+
cookie.setHttpOnly(false); // HttpOnly를 false로 설정하여 클라이언트에서 접근 가능하게 함 :프로덕션 환경에서는 true로 변경
3232
cookie.setMaxAge(maxAge);
3333
response.addCookie(cookie);
3434
}

0 commit comments

Comments
 (0)