Update LoginController.php

This commit is contained in:
Shleeble 2019-04-30 15:20:26 +08:00 committed by GitHub
parent 64c7a8ceae
commit 7953be29fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,10 +53,6 @@ class LoginController extends Controller
'password' => 'required|string|min:6',
];
if (config('pixelfed.recaptcha')) {
$rules['g-recaptcha-response'] = 'required|recaptcha';
}
$this->validate($request, $rules);
}