fix(captcha): wire scene switches and rename menu to 人机验证

- Admin: 登录权限 → 人机验证; 停用场景 → 启用场景 (opt-in)
- Normalize enabled_scenarios with legacy disabled_scenarios BC
- Sign-in: never soft-bypass captcha; cancel unlocks button
- Captcha JS: cancel path finishes pending callback as false
This commit is contained in:
kate522 committed 2026-07-15 16:48:57 +08:00
1 parent 808d46664f
commit bc96edf384
10 files changed
+143 -54

No files matched your search

@@ -42,10 +42,10 @@ export const permissionsSection = {
schemaPage({
key: 'permissions-login',
name: 'PermissionsLogin',
label: '登录权限',
label: '人机验证',
route: '/permissions/login',
title: '登录权限',
desc: '登录验证、人机验证、注册限制配置。',
title: '人机验证',
desc: '云验证码服务商、场景开关与密钥配置。',
canonicalDomain: 'permissions',
section: 'login',
}),