Commit c1262252 authored by Thomas Löffler's avatar Thomas Löffler

Adds LDAP validation for checkValidUser via SOAP

parent 5862e14f
Pipeline #2137 passed with stages
in 2 minutes and 21 seconds
......@@ -199,13 +199,7 @@ class tx_ter_helper
);
if ($row = $this->getDatabaseConnection()->sql_fetch_assoc($res)) {
$objPHPass = \TYPO3\CMS\Saltedpasswords\Salt\SaltFactory::getSaltingInstance($row['password']);
// we do not consider 'C' or 'M' prefixed salted password hashes
// as password strings on typo3.org are not updated ones
if ($row['password'] === $accountData->password || $objPHPass->checkPassword(
$accountData->password, $row['password']
)
) {
if ($this->ldapValidationSucceeded($accountData)) {
$success = true;
}
}
......
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