Explorar o código

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

IceToast %!s(int64=3) %!d(string=hai) anos
pai
achega
9193e08180
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()) {