diff options
Diffstat (limited to 'apps/user_ldap/ajax/testConfiguration.php')
-rw-r--r-- | apps/user_ldap/ajax/testConfiguration.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/ajax/testConfiguration.php b/apps/user_ldap/ajax/testConfiguration.php index 3fe2337c86e..22cdea388c1 100644 --- a/apps/user_ldap/ajax/testConfiguration.php +++ b/apps/user_ldap/ajax/testConfiguration.php @@ -68,7 +68,7 @@ try { try { $ldapWrapper->read($connection->getConnectionResource(), '', 'objectClass=*', ['dn']); } catch (\Exception $e) { - if($e->getCode() === 1) { + if ($e->getCode() === 1) { \OC_JSON::error(['message' => $l->t('Invalid configuration: Anonymous binding is not allowed.')]); exit; } |