summaryrefslogtreecommitdiff
path: root/check_user.php
diff options
context:
space:
mode:
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;