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

View File

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