Skip to content

Commit

Permalink
BE - 로그인 시 브라우저에 쿠키 남지 않던 오류 추가 수정(#93) (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktykty0722 authored Feb 10, 2023
1 parent aa72bae commit 00dde48
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public ResponseEntity<?> login(@Valid @RequestBody UserLoginReq userLoginReq, Ht
HttpSession httpSession = httpServletRequest.getSession(true);
httpSession.setAttribute("User", loginUser);
ResponseCookie responseCookie = ResponseCookie.from("JSESSIONID", httpSession.getId())
.domain("amatta.site")
.httpOnly(true)
.path("/")
.secure(true)
Expand Down

0 comments on commit 00dde48

Please sign in to comment.