Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore(api): remove setting of expired remember_token cookie in after_request (#10582)

-LAN-3e04c92ff994
diff --git a/api/app.py b/api/app.py
index ead60e98d7d..a667a84fd68 100644
--- a/api/app.py
+++ b/api/app.py
@@ -53,7 +53,6 @@ if dify_config.TESTING:
@app.after_request
def after_request(response):
"""Add Version headers to the response."""
- response.set_cookie("remember_token", "", expires=0)
response.headers.add("X-Version", dify_config.CURRENT_VERSION)
response.headers.add("X-Env", dify_config.DEPLOY_ENV)
return response