forked from leftypol/leftypol
post.php: use additional password check
This commit is contained in:
parent
850958a45e
commit
b88c876222
1 changed files with 1 additions and 1 deletions
2
post.php
2
post.php
|
@ -933,7 +933,7 @@ function handle_post()
|
||||||
checkBan($board['uri']);
|
checkBan($board['uri']);
|
||||||
|
|
||||||
if ($config['op_require_history'] && $post['op'] && !isIPv6()) {
|
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) {
|
if (!$has_any) {
|
||||||
error($config['error']['opnohistory']);
|
error($config['error']['opnohistory']);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue