diff --git a/htdocs/webportal/class/context.class.php b/htdocs/webportal/class/context.class.php index 352ae9e79f923..6883a525fa3cc 100644 --- a/htdocs/webportal/class/context.class.php +++ b/htdocs/webportal/class/context.class.php @@ -687,7 +687,7 @@ public function getThirdPartyAccountFromLogin($login, $pass) $sql = "SELECT sa.rowid as id, sa.pass_crypted"; $sql .= " FROM " . $this->db->prefix() . "societe_account as sa"; - $sql .= " WHERE BINARY sa.login = '" . $this->db->escape($login) . "'"; // case sensitive + $sql .= " WHERE sa.login = '" . $this->db->escape($login) . "'"; //$sql .= " AND BINARY sa.pass_crypted = '" . $this->db->escape($pass) . "'"; // case sensitive $sql .= " AND sa.site = 'dolibarr_portal'"; $sql .= " AND sa.status = 1";