update secure flag to false (#25412)

update secure flag to false
This commit is contained in:
Petrichor
2023-10-13 04:00:58 -05:00
committed by GitHub
parent 789210bc38
commit b56eecb341

View File

@ -103,7 +103,7 @@ public class BaseController {
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);