From 1b4d51c888deb919356cb3f0bd32e5bff8479091 Mon Sep 17 00:00:00 2001 From: shenshuo <191715030@qq.com> Date: Thu, 13 Jun 2024 18:36:34 +0800 Subject: [PATCH] =?UTF-8?q?2024=E5=B9=B46=E6=9C=8807=E6=97=A5=20=20feat(lo?= =?UTF-8?q?gin)=20=E4=BC=98=E5=8C=96=E7=99=BB=E5=BD=95=E6=A0=B9=E5=9F=9F?= =?UTF-8?q?=E5=86=99cookie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mg/handlers/login_v5_handler.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mg/handlers/login_v5_handler.py b/mg/handlers/login_v5_handler.py index 3320f47..ce71e52 100644 --- a/mg/handlers/login_v5_handler.py +++ b/mg/handlers/login_v5_handler.py @@ -102,7 +102,6 @@ async def post(self, *args, **kwargs): # logging.error(f"设置主域cookie失败 {err}") try: root_domain = self.request.headers.get('Codo-root-domain') - self.clear_all_cookies() self.set_cookie("auth_key", auth_key, domain=root_domain, expires_days=1) self.set_cookie("is_login", 'yes', domain=root_domain, expires_days=1) except Exception as err: