Files
clawpanel/src
晴天 960db8d64e fix(auth): 桌面端默认密码 123456 时登录页直接明文预填提示
登录页本就支持默认密码明文预填(首次登录引导),但桌面端只在
mustChangePassword 标记存在时触发——U 盘便携包等预置的 clawpanel.json
只写了 accessPassword: "123456" 而无标记,用户被挡在锁定页且无提示。

判定改为与 security.js / Web 端 auth_check 一致:密码等于出厂值
123456 即视为默认密码,登录页直接预填并提示尽快修改。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 20:11:59 -07:00
..