Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
This makes it hard to catch bruteforces in the logs, should return 401edit:SELECT COUNT(*) FROM xf_login_attempt WHERE FROM_UNIXTIME(attempt_date) > CURRENT_DATE()-> 184468and it's only 5 pmfix:edit LoginController.php, after $user = $loginService->validate($input['password'], $error);changereturn $this->view('XF:Login\Form', 'login', $viewParams);to $view = $this->view('XF:Login\Form', 'login', $viewParams); $view->setResponseCode(401); return $view;
This makes it hard to catch bruteforces in the logs, should return 401
edit:
SELECT COUNT(*) FROM xf_login_attempt WHERE FROM_UNIXTIME(attempt_date) > CURRENT_DATE()
xf_login_attempt
-> 184468
and it's only 5 pm
fix:
edit LoginController.php, after $user = $loginService->validate($input['password'], $error);
change
return $this->view('XF:Login\Form', 'login', $viewParams);
to
$view = $this->view('XF:Login\Form', 'login', $viewParams);
$view->setResponseCode(401);
return $view;
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences