fix(mindspace): lower page access password minimum to 6 characters

Align publication validation, portal gate HTML, H5 publish UI, MCP docs,
and page-data skill guidance so passwords like 888888 are accepted while
3-character values such as 888 remain rejected.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-27 09:54:46 +08:00
parent a15c4177de
commit 884e819f70
9 changed files with 31 additions and 19 deletions
+2 -2
View File
@@ -401,12 +401,12 @@ export function MindSpacePageDataOpsPanel({ pageId, pageTitle, accessMode, onClo
type="password"
value={newPassword}
onChange={(event) => setNewPassword(event.target.value)}
placeholder="新页面口令(至少 8 位)"
placeholder="新页面口令(至少 6 位)"
autoComplete="new-password"
/>
<button
type="button"
disabled={busyAction != null || newPassword.trim().length < 8}
disabled={busyAction != null || newPassword.trim().length < 6}
onClick={() =>
void runAction('reset-password', async () => {
const result = await resetPageDataPassword(pageId, newPassword.trim());
+1 -1
View File
@@ -1362,7 +1362,7 @@ export function MindSpacePageDetail({
<input
type="password"
value={accessPassword}
minLength={8}
minLength={6}
maxLength={128}
autoComplete="new-password"
onChange={(event) => {