fixed problem when empty password is submitted

This commit is contained in:
Roland Gruber 2010-03-28 11:44:17 +00:00
parent cd5e0aaa48
commit c7195a7545
1 changed files with 1 additions and 0 deletions

View File

@ -381,6 +381,7 @@ if(!empty($_POST['checklogin'])) {
logNewMessage(LOG_DEBUG, "Empty password for login");
$error_message = _("Empty password submitted. Please try again.");
display_LoginPage($_SESSION['config']); // Empty password submitted. Return to login page.
exit();
}
else {
$clientSource = $_SERVER['REMOTE_ADDR'] . '/' . $_SERVER['REMOTE_HOST'];