summaryrefslogtreecommitdiffstats
path: root/web/html/index.php
diff options
context:
space:
mode:
authoreric <eric>2005-01-25 22:52:32 +0000
committereric <eric>2005-01-25 22:52:32 +0000
commita54ca6bfaf72832e0ca98278c037b7a1bc75fa16 (patch)
treed906562fc4a21ae6b884e15b052d142722380a22 /web/html/index.php
parent9641fdc735640af82606ee9b6a60a1cb3c046d16 (diff)
downloadaurweb-a54ca6bfaf72832e0ca98278c037b7a1bc75fa16.tar.xz
started working on package delete support
Diffstat (limited to 'web/html/index.php')
-rw-r--r--web/html/index.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/html/index.php b/web/html/index.php
index 033a69e..b05127b 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
?>