Browse Source

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

IceToast 3 years ago
parent
commit
9193e08180
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Classes/Settings/Misc.php

+ 1 - 1
app/Classes/Settings/Misc.php

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