mirror of https://github.com/pixelfed/pixelfed.git
Update LoginController.php
This commit is contained in:
parent
64c7a8ceae
commit
7953be29fe
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue