mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-23 07:20:01 +00:00
Update RegisterController.php
This commit is contained in:
parent
24a1b2713f
commit
d61c48c62b
1 changed files with 0 additions and 4 deletions
|
@ -76,10 +76,6 @@ class RegisterController extends Controller
|
||||||
'password' => 'required|string|min:6|confirmed',
|
'password' => 'required|string|min:6|confirmed',
|
||||||
];
|
];
|
||||||
|
|
||||||
if (config('pixelfed.recaptcha')) {
|
|
||||||
$rules['g-recaptcha-response'] = 'required|recaptcha';
|
|
||||||
}
|
|
||||||
|
|
||||||
return Validator::make($data, $rules);
|
return Validator::make($data, $rules);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue