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

@@ -24,4 +24,8 @@ return [
'size' => nexus_env('RECAPTCHA_SIZE', 'normal'),
],
],
'attendance' => [
'enabled' => nexus_env('CAPTCHA_ATTENDANCE_ENABLED', true),
],
];