Skip to content

Commit cd48e20

Browse files
committed
[feat] : secure 쿠키 삭제
1 parent 1333a87 commit cd48e20

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/main/java/com/oreo/finalproject_5re5_be/member/config/LoginAuthenticationSuccessHandler.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ private void handleCookie(HttpServletRequest request, HttpServletResponse respon
106106
log.info("[LoginAuthenticationSuccessHandler] handleCookie - cookie1 : {} ", cookie);
107107
// 쿠키 도메인 설정
108108
cookie.setDomain("5re5park.site");
109-
cookie.setSecure(true);// XSS 방지
110109
cookie.setHttpOnly(true);// HTTPS에서만 전송
111110
cookie.setPath("/"); // 쿠키가 모든 경로에서 유효
112111
// 1일 간 유지

0 commit comments

Comments
 (0)