mirror of
https://github.com/michaelrsweet/mxml.git
synced 2025-02-22 02:05:29 +00:00
Fix bug in login page.
This commit is contained in:
parent
5724ded82a
commit
8d5c62b5a5
@ -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!";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user