summaryrefslogtreecommitdiff
path: root/check_user.php
diff options
context:
space:
mode:
authorChristian Pointner <equinox@ffgraz.net>2013-12-30 02:44:13 +0000
committerChristian Pointner <equinox@ffgraz.net>2013-12-30 02:44:13 +0000
commit70b378464945443b234380c5098ec7066bb0b15f (patch)
treef79d174c3be10cbf80eea6debca80042a1d8cdaa /check_user.php
parent736522335971a165326b741632dbd5e1efdf6ec3 (diff)
cleanup
Diffstat (limited to 'check_user.php')
-rw-r--r--check_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/check_user.php b/check_user.php
index 4b89267..bd7dfc7 100644
--- a/check_user.php
+++ b/check_user.php
@@ -10,7 +10,7 @@ function check_user($username, $password)
$db->query("SELECT password FROM person WHERE email='".$escaped_username."'");
$data = $db->getNextObject();
- if($data->password == md5($password))
+ if($data->password == md5($password))
return true;
return false;