From 0433e17b34b618454da491cf5001407c47bc8944 Mon Sep 17 00:00:00 2001 From: zhaoying Date: Tue, 13 Jan 2026 10:59:28 +0800 Subject: [PATCH] fix(web): update auth --- web/src/utils/auth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/utils/auth.ts b/web/src/utils/auth.ts index 2426c5e8..b7c72527 100644 --- a/web/src/utils/auth.ts +++ b/web/src/utils/auth.ts @@ -1,7 +1,7 @@ import { cookieUtils } from './request' export const clearAuthData = () => { console.log("Clearing auth data and redirecting to login"); - // sessionStorage.clear(); - // localStorage.clear() + sessionStorage.clear(); + localStorage.clear() cookieUtils.clear(); } \ No newline at end of file