summaryrefslogtreecommitdiffstats
path: root/Core/Authentication
diff options
context:
space:
mode:
authorCharles Sarrazin <charles@sarraz.in>2015-11-28 23:09:12 +0100
committerCharles Sarrazin <charles@sarraz.in>2015-11-28 23:36:49 +0100
commite7f58bf8385ecbec91149d711942a182746adeda (patch)
tree7f26285ba946c2d428d98957aab679c6f851dfa3 /Core/Authentication
parent3bc433a9e00e6f9d12e144fd47403357bdd2fdae (diff)
downloadsymfony-security-e7f58bf8385ecbec91149d711942a182746adeda.zip
symfony-security-e7f58bf8385ecbec91149d711942a182746adeda.tar.gz
symfony-security-e7f58bf8385ecbec91149d711942a182746adeda.tar.bz2
Marked the Ldap component as internal and removed Ldap constants polyfill
Diffstat (limited to 'Core/Authentication')
-rw-r--r--Core/Authentication/Provider/LdapBindAuthenticationProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/Authentication/Provider/LdapBindAuthenticationProvider.php b/Core/Authentication/Provider/LdapBindAuthenticationProvider.php
index fab7d80..adc42ef 100644
--- a/Core/Authentication/Provider/LdapBindAuthenticationProvider.php
+++ b/Core/Authentication/Provider/LdapBindAuthenticationProvider.php
@@ -74,7 +74,7 @@ class LdapBindAuthenticationProvider extends UserAuthenticationProvider
$password = $token->getCredentials();
try {
- $username = $this->ldap->escape($username, '', LdapClientInterface::LDAP_ESCAPE_DN);
+ $username = $this->ldap->escape($username, '', LDAP_ESCAPE_DN);
$dn = str_replace('{username}', $username, $this->dnString);
$this->ldap->bind($dn, $password);