Browse Source

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

IceToast 3 năm trước cách đây
mục cha
commit
9193e08180
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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()) {