mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 17:58:59 +00:00
Merge branch 'dev-firewall' of https://github.com/NNTmux/newznab-tmux into dev-firewall
This commit is contained in:
@@ -55,7 +55,6 @@ class LoginController extends Controller
|
||||
$user = User::getByUsername($request->input('username'));
|
||||
|
||||
if ($user !== null && \Firewall::isBlacklisted($user->host) === false) {
|
||||
|
||||
if (env('NOCAPTCHA_ENABLED') === true && (! empty(env('NOCAPTCHA_SECRET')) && ! empty(env('NOCAPTCHA_SITEKEY')))) {
|
||||
$this->validate($request, [
|
||||
'g-recaptcha-response' => 'required|captcha',
|
||||
|
||||
Reference in New Issue
Block a user