diff options
Diffstat (limited to 'web/html/index.php')
-rw-r--r-- | web/html/index.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/html/index.php b/web/html/index.php index 033a69e6..b05127be 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -19,10 +19,10 @@ if (isset($_REQUEST["user"]) || isset($_REQUEST["pass"])) { if (!$login_error) { # Try and authenticate the user # - - #md5 hash it + + #md5 hash it $_REQUEST["pass"] = md5($_REQUEST["pass"]); - $dbh = db_connect(); + $dbh = db_connect(); $q = "SELECT ID, Suspended FROM Users "; $q.= "WHERE Username = '" . mysql_escape_string($_REQUEST["user"]) . "' "; $q.= "AND Passwd = '" . mysql_escape_string($_REQUEST["pass"]) . "'"; @@ -120,5 +120,5 @@ print "</table>\n"; html_footer("\$Id$"); -# vim: ts=2 sw=2 et ft=php +# vim: ts=2 sw=2 noet ft=php ?> |