Browse Source

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

-LAN- 5 months ago
parent
commit
3e04c92ff9
1 changed files with 0 additions and 1 deletions
  1. 0 1
      api/app.py

+ 0 - 1
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