Commit 89b579ca authored by redflo's avatar redflo

Fix for bug 735460. Thanks to Tony Colley (awcolley) for fixing.

parent f6d9fb40
......@@ -351,7 +351,7 @@ class UsersLib extends TikiLib {
$hash=md5($pass);
// first verify that the user exists
$query = "select login from users_users where binary login = '$user' and hash='$hash'";
$query = "select login from users_users where binary login = '$user'";
$result = $this->query($query);
if(!$result->numRows())
return USER_NOT_FOUND;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment