Sfoglia il codice sorgente

Update RegisterController.php

Shleeble 6 anni fa
parent
commit
d61c48c62b
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  1. 0 4
      app/Http/Controllers/Auth/RegisterController.php

+ 0 - 4
app/Http/Controllers/Auth/RegisterController.php

@@ -76,10 +76,6 @@ class RegisterController extends Controller
             'password' => 'required|string|min:6|confirmed',
         ];
 
-        if (config('pixelfed.recaptcha')) {
-            $rules['g-recaptcha-response'] = 'required|recaptcha';
-        }
-
         return Validator::make($data, $rules);
     }