From 3e04c92ff994627a02247f7fdb6825a4f23f124b Mon Sep 17 00:00:00 2001 From: -LAN- Date: Tue, 12 Nov 2024 15:53:55 +0800 Subject: [PATCH] chore(api): remove setting of expired remember_token cookie in after_request (#10582) --- api/app.py | 1 - 1 file changed, 1 deletion(-) diff --git a/api/app.py b/api/app.py index ead60e98d7..a667a84fd6 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