feat(admin-web/login): replace default test credentials with remembered login

Why: showing the seed admin account on the login screen is unsafe for production deployments.
How to apply: store identifier/password in localStorage when "记住密码" is checked, restore them on mount, and drop the demo credentials panel.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-30 18:15:08 +08:00
parent 1e46bfa1f4
commit 9525c1144d
3 changed files with 48 additions and 46 deletions
+2 -2
View File
@@ -95,8 +95,8 @@ const enUS = {
email: "Email",
loginIdentifier: "Phone / Email",
password: "Password",
defaultTestAccount: "Default account",
defaultTestPassword: "Default password",
rememberPassword: "Remember password",
forgotPassword: "Forgot password",
},
membershipBlocked: {
eyebrow: "Access Paused",