This is an automated email from the ASF dual-hosted git repository.
jiafengzheng pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new bfa84c3e6ca [fix](fe)modify secure flag to false,FE UI login jump
problem (#25992)
bfa84c3e6ca is described below
commit bfa84c3e6ca3927d055c277d3f0f8115b6dce476
Author: Petrichor <[email protected]>
AuthorDate: Fri Oct 27 09:20:21 2023 +0800
[fix](fe)modify secure flag to false,FE UI login jump problem (#25992)
---
.../main/java/org/apache/doris/httpv2/controller/BaseController.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/httpv2/controller/BaseController.java
b/fe/fe-core/src/main/java/org/apache/doris/httpv2/controller/BaseController.java
index d27310021b5..3f7911e523c 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/httpv2/controller/BaseController.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/httpv2/controller/BaseController.java
@@ -104,7 +104,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);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]