mirror of
https://git.code.sf.net/p/quake/website
synced 2025-01-19 07:00:49 +00:00
Debugging.
This commit is contained in:
parent
1febc039f2
commit
fbaee56679
1 changed files with 2 additions and 8 deletions
10
lib/auth.php
10
lib/auth.php
|
@ -48,12 +48,6 @@ CREATE TABLE members (
|
|||
|
||||
define ('thisUrl', ereg_replace ('index.php', '', getenv ('SCRIPT_NAME')));
|
||||
|
||||
/*
|
||||
authLoginForm
|
||||
|
||||
Display a login form.
|
||||
*/
|
||||
|
||||
/*
|
||||
authCreateSecret
|
||||
|
||||
|
@ -126,11 +120,11 @@ CREATE TABLE members (
|
|||
if ($userName) {
|
||||
if (!authProcess ($userName, $password)) {
|
||||
$title = "Login incorrect.";
|
||||
require siteHome ."/parts/authform.php";
|
||||
include siteHome . "/parts/authform.php";
|
||||
}
|
||||
} else {
|
||||
$title = "Login required.";
|
||||
require siteHome . "/parts/authform.php";
|
||||
include siteHome . "/parts/authform.php";
|
||||
}
|
||||
}
|
||||
$query = "SELECT * FROM members" .
|
||||
|
|
Loading…
Reference in a new issue