mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Update LoginController.php
This commit is contained in:
parent
64c7a8ceae
commit
7953be29fe
1 changed files with 0 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue