Commit 29ca9876 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Merge branch 'stricter-ldap-error-check' into '1.4-dev'

:ambulance: fix(ldap) Use a stricter error check in ldap::success()

See merge request fusiondirectory/fd!648
Showing with 1 addition and 1 deletion
+1 -1
......@@ -957,7 +957,7 @@ class LDAP
*/
function success ()
{
return preg_match('/Success/i', $this->error);
return (trim($this->error) === 'Success');
}
/*!
......
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