Commit 626e9bff authored by Tom Darneix's avatar Tom Darneix
Browse files

Merge branch 'master' of github.com:centreon/centreon

parents e2f3baa7 a5d53902
......@@ -577,10 +577,12 @@ class CentreonAPI
$hashedPassword
);
\CentreonClapi\CentreonUtils::setUserId($row['contact_id']);
$this->removeBlockingTimeOnUser();
return 1;
}
if (password_verify($this->password, $row['contact_passwd'])) {
\CentreonClapi\CentreonUtils::setUserId($row['contact_id']);
$this->removeBlockingTimeOnUser();
return 1;
} elseif ($row['contact_auth_type'] == 'ldap') {
$CentreonLog = new \CentreonUserLog(-1, $this->DB);
......
Supports Markdown
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