Skip to content

Commit

Permalink
[HotFix] cookie setSecure true
Browse files Browse the repository at this point in the history
  • Loading branch information
Han-Jeong committed Feb 14, 2024
1 parent 319061e commit 69742c1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public static void addCookie(HttpServletResponse response, String name, String v
Cookie cookie = new Cookie(name, value);
cookie.setPath("/");
cookie.setHttpOnly(true);
cookie.setSecure(true);
cookie.setMaxAge(maxAge);
response.addCookie(cookie);
}
Expand Down

0 comments on commit 69742c1

Please sign in to comment.