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: