fix: 🚑️ recaptcha enable/disable button in settings validation

This commit is contained in:
IceToast 2022-01-21 13:32:31 +01:00
parent 046a34c1ee
commit 9193e08180

View file

@ -30,7 +30,7 @@ class Misc
'discord-role-id' => 'nullable|string', 'discord-role-id' => 'nullable|string',
'recaptcha-site-key' => 'nullable|string', 'recaptcha-site-key' => 'nullable|string',
'recaptcha-secret-key' => 'nullable|string', 'recaptcha-secret-key' => 'nullable|string',
'enable-recaptcha' => 'nullable|boolean', 'enable-recaptcha' => 'nullable|string',
]); ]);
if ($validator->fails()) { if ($validator->fails()) {