Fix bug in login page.

This commit is contained in:
Michael R Sweet 2007-08-05 01:40:49 +00:00
parent 5724ded82a
commit 8d5c62b5a5

View File

@ -128,7 +128,7 @@ if ($REQUEST_METHOD == "POST")
db_free($result);
}
else if (argc == 0 && $username != "" && $password != "")
else if ($argc == 0 && $username != "" && $password != "")
if (auth_login($username, $password) == "")
$usererror = "Login failed!";
}