Update RegisterController.php

This commit is contained in:
Shleeble 2019-04-30 15:25:02 +08:00 committed by GitHub
parent 24a1b2713f
commit d61c48c62b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}