diff --git a/lib/DBAuthenticator.inc b/lib/DBAuthenticator.inc index 2d7b642..58d87c2 100644 --- a/lib/DBAuthenticator.inc +++ b/lib/DBAuthenticator.inc @@ -8,7 +8,7 @@ require_once("$default->owl_fs_root/lib/Authenticator.inc"); * Perform authentication tasks against the database. * * @version $Revision$ - * @author michael@jamwarehouse.com + * @author owl_users_table where username = '$userName' and password = '" . md5($password) . "'"; $sql->query($query); $numrows = $sql->num_rows($sql); + if ($numrows == "1") { return true; } else {