Commit e6cd9f78 authored by Côme Chilliet's avatar Côme Chilliet

Merge branch 'cherry-pick-29ca9876' into '1.2.3-fixes'

Merge branch 'stricter-ldap-error-check' into '1.2.3-fixes'

See merge request fusiondirectory/fd!650
parents ff45b2c3 f2fd17d4
......@@ -906,7 +906,7 @@ class LDAP
*/
function success()
{
return preg_match('/Success/i', $this->error);
return (trim($this->error) === 'Success');
}
/*!
......
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