From a3cd67f80ff252a449f9c852de1104e866e67b11 Mon Sep 17 00:00:00 2001 From: mlogclub Date: Sun, 26 Apr 2026 20:04:54 +0800 Subject: [PATCH] update --- web/components/login-form.tsx | 11 ++++------- web/lib/auth.ts | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/web/components/login-form.tsx b/web/components/login-form.tsx index 1cee7b1..59f258b 100644 --- a/web/components/login-form.tsx +++ b/web/components/login-form.tsx @@ -83,13 +83,10 @@ export function LoginForm({ >
- {/* - AI Service Console - */} -

登录管理后台

-

- 使用账号登录后进入对应工作区,可访问后台管理台或用户会话页。 -

+ + 贝壳AI + +

欢迎使用贝壳 AI 客服平台

用户名 diff --git a/web/lib/auth.ts b/web/lib/auth.ts index c668fde..b1a88db 100644 --- a/web/lib/auth.ts +++ b/web/lib/auth.ts @@ -16,7 +16,7 @@ export type AuthSession = { roles: string[] } -const SESSION_STORAGE_KEY = "cs-agent.admin.session" +const SESSION_STORAGE_KEY = "cs-ai-agent-session" function hasWindow() { return typeof window !== "undefined"