浏览代码

Merge pull request #10992 from wangkx/h19372

HPCC-19372 Clean login error cookie after authenticated

Reviewed-By: Russ Whitehead <william.whitehead@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 7 年之前
父节点
当前提交
95b4d5769d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      esp/bindings/http/platform/httpservice.cpp

+ 1 - 0
esp/bindings/http/platform/httpservice.cpp

@@ -1219,6 +1219,7 @@ EspAuthState CEspHttpServer::authNewSession(EspAuthRequest& authReq, const char*
     addCookie(authReq.authBinding->querySessionIDCookieName(), cookieStr.str(), 0, true);
     cookieStr.setf("%u", authReq.authBinding->getClientSessionTimeoutSeconds());
     addCookie(SESSION_TIMEOUT_COOKIE, cookieStr.str(), 0, false);
+    clearCookie(SESSION_AUTH_MSG_COOKIE);
     clearCookie(SESSION_START_URL_COOKIE);
     if (unlock)
     {