瀏覽代碼

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

IceToast 3 年之前
父節點
當前提交
9193e08180
共有 1 個文件被更改,包括 1 次插入1 次删除
  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()) {