Commit e1522353 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

(cherry picked from commit 29ca9876)

23936352 :ambulance: fix(ldap) Use a stricter error check in ldap::success()
Showing with 1 addition and 1 deletion
+1 -1
......@@ -881,7 +881,7 @@ class LDAP
*/
function success()
{
return preg_match('/Success/i', $this->error);
return (trim($this->error) === 'Success');
}
/*!
......
  • SonarQube analysis reported 1 issue

    • :arrow_down_small: 1 minor

    Note: The following issues were found on lines that were not modified in the commit. Because these issues can't be reported as line comments, they are summarized here:

    1. :arrow_down_small: Rename class "tabs_configInLdap" to match the regular expression ^[a-zA-Z][a-zA-Z0-9]*$. :blue_book:

    By Ghost User on 2019-07-29T11:55:03 (imported from GitLab)

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