post.php: use additional password check

This commit is contained in:
Zankaria 2024-11-14 15:26:53 +01:00
parent 850958a45e
commit b88c876222

View file

@ -933,7 +933,7 @@ function handle_post()
checkBan($board['uri']);
if ($config['op_require_history'] && $post['op'] && !isIPv6()) {
$has_any = has_any_history($_SERVER['REMOTE_ADDR']);
$has_any = has_any_history($_SERVER['REMOTE_ADDR'], $_POST['password']);
if (!$has_any) {
error($config['error']['opnohistory']);
}