jeffreys-cat commented on code in PR #26057:
URL: https://github.com/apache/doris/pull/26057#discussion_r1375262774
##########
fe/fe-core/src/main/java/org/apache/doris/httpv2/controller/BaseController.java:
##########
@@ -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(false);
+ cookie.setSecure(true);
Review Comment:
`cookie.setSecure(true)` means Cookies will only be passed under the HTTPS
protocol, which will make doris UI login can not work.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]