diff --git a/src/pages/AuthPage/AuthPage.jsx b/src/pages/AuthPage/AuthPage.jsx
index 64f3378..e7f8f52 100644
--- a/src/pages/AuthPage/AuthPage.jsx
+++ b/src/pages/AuthPage/AuthPage.jsx
@@ -68,8 +68,7 @@
       // 保存用户信息到 localStorage
       localStorage.setItem("user", JSON.stringify(data.user));
       localStorage.setItem("userId", data.user.userId); // 如果有 id 字段
-      debugger
-      // window.location.href = '/forum';
+      window.location.href = '/forum';
     } else {
       throw new Error(data.msg || "登录失败");
     }
