Disable posting immediately when deleting user password file.
This commit is contained in:
parent
b6be00ae1c
commit
f40bcb2c47
|
@ -185,6 +185,13 @@ if ($type == "post") {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Check that user has not been recently banned
|
||||||
|
if(!is_file($config_dir.'/users/'.strtolower(trim($name)))) {
|
||||||
|
$type = "retry";
|
||||||
|
$error = $text_error["auth_error"];
|
||||||
|
$_SESSION['pass'] = false;
|
||||||
|
$logged_in = false;
|
||||||
|
}
|
||||||
// error handling
|
// error handling
|
||||||
if (trim($body) == "") {
|
if (trim($body) == "") {
|
||||||
$type = "retry";
|
$type = "retry";
|
||||||
|
|
Loading…
Reference in New Issue