1
0
Fork 0

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
1 changed files with 0 additions and 4 deletions

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