mirror of
https://git.code.sf.net/p/quake/website
synced 2025-04-17 05:03:19 +00:00
Add some checking to the return.
This commit is contained in:
parent
fbaee56679
commit
a354de4d01
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ CREATE TABLE members (
|
|||
$userName = authCookie ($loginInfo, $userName, $password);
|
||||
} else {
|
||||
if ($userName) {
|
||||
if (!authProcess ($userName, $password)) {
|
||||
if (authProcess ($userName, $password) == 0) {
|
||||
$title = "Login incorrect.";
|
||||
include siteHome . "/parts/authform.php";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue