Skip to content

Commit

Permalink
쿠키 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
HeeSung98 committed Nov 28, 2023
1 parent 309d2d1 commit d6fcf25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void onAuthenticationSuccess(HttpServletRequest request, HttpServletRespo
String userinfo = authUserDTO.getEmail() + "|" + authUserDTO.getName() + "|" + authUserDTO.getImage();
Cookie cookieUserinfo = new Cookie("userinfo", userinfo);
cookieUserinfo.setHttpOnly(false);
cookieToken.setSecure(true);
cookieUserinfo.setSecure(true);
cookieUserinfo.setMaxAge(3 * 60 * 60);
response.addCookie(cookieUserinfo);

Expand Down

0 comments on commit d6fcf25

Please sign in to comment.