feat(attendance): make captcha requirement configurable

- add Filament toggle to control whether attendance check-in requires captcha
- persist the toggle under captcha.attendance.enabled with sensible defaults

Signed-off-by: Qi HU <github@spcsky.com>
This commit is contained in:
Qi HU
2025-10-14 10:26:18 +08:00
parent 908b4b19ea
commit 479ace4df7
7 changed files with 94 additions and 34 deletions

View File

@@ -144,6 +144,10 @@ return [
'size_normal' => 'Normal',
'size_compact' => 'Compact',
],
'attendance' => [
'enabled' => 'Require captcha for attendance check-in',
'enabled_help' => 'When enabled, members must solve the captcha before signing in.',
],
],
'meilisearch' => [
'tab_header' => 'Meilisearch',

View File

@@ -185,6 +185,10 @@ return [
'size_normal' => '普通',
'size_compact' => '紧凑',
],
'attendance' => [
'enabled' => '启用签到验证码',
'enabled_help' => '开启后,用户每天签到前必须完成验证码验证。',
],
],
'meilisearch' => [
'tab_header' => 'Meilisearch',

View File

@@ -144,6 +144,10 @@ return [
'size_normal' => '一般',
'size_compact' => '緊湊',
],
'attendance' => [
'enabled' => '啟用簽到驗證碼',
'enabled_help' => '啟用後,使用者簽到前必須完成驗證碼驗證。',
],
],
'meilisearch' => [
'tab_header' => 'Meilisearch',