fixed problem when empty password is submitted
This commit is contained in:
parent
cd5e0aaa48
commit
c7195a7545
|
@ -381,6 +381,7 @@ if(!empty($_POST['checklogin'])) {
|
||||||
logNewMessage(LOG_DEBUG, "Empty password for login");
|
logNewMessage(LOG_DEBUG, "Empty password for login");
|
||||||
$error_message = _("Empty password submitted. Please try again.");
|
$error_message = _("Empty password submitted. Please try again.");
|
||||||
display_LoginPage($_SESSION['config']); // Empty password submitted. Return to login page.
|
display_LoginPage($_SESSION['config']); // Empty password submitted. Return to login page.
|
||||||
|
exit();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$clientSource = $_SERVER['REMOTE_ADDR'] . '/' . $_SERVER['REMOTE_HOST'];
|
$clientSource = $_SERVER['REMOTE_ADDR'] . '/' . $_SERVER['REMOTE_HOST'];
|
||||||
|
|
Loading…
Reference in New Issue