Skip to content

Commit

Permalink
modify secure flag to false
Browse files Browse the repository at this point in the history
  • Loading branch information
vinlee19 authored Oct 27, 2023
1 parent 110e9ae commit b91d830
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public ActionAuthorizationInfo checkWithCookie(HttpServletRequest request,
protected void addSession(HttpServletRequest request, HttpServletResponse response, SessionValue value) {
String key = UUID.randomUUID().toString();
Cookie cookie = new Cookie(PALO_SESSION_ID, key);
cookie.setSecure(true);
cookie.setSecure(false);
cookie.setMaxAge(PALO_SESSION_EXPIRED_TIME);
cookie.setPath("/");
cookie.setHttpOnly(true);
Expand Down

0 comments on commit b91d830

Please sign in to comment.