diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-11-29 17:26:49 +0100 |
---|---|---|
committer | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-11-29 17:26:49 +0100 |
commit | 7b07ea0cbd2ceb901b2b6bca0f6a76714285cd22 (patch) | |
tree | f23e2315b9068132b699372cd07389a438452270 /Core/Authentication | |
parent | f48bdc7c4234c9adc53c348f6a73f3bbd65991ba (diff) | |
parent | 713b72a42fc3a5d8bdc75dccda9959c7bb331486 (diff) | |
download | symfony-security-7b07ea0cbd2ceb901b2b6bca0f6a76714285cd22.zip symfony-security-7b07ea0cbd2ceb901b2b6bca0f6a76714285cd22.tar.gz symfony-security-7b07ea0cbd2ceb901b2b6bca0f6a76714285cd22.tar.bz2 |
Merge branch '2.8'
* 2.8:
[Bridge/Doctrine+Ldap] Fix tests
Marked the Ldap component as internal and removed Ldap constants polyfill
Conflicts:
src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php
Diffstat (limited to 'Core/Authentication')
-rw-r--r-- | Core/Authentication/Provider/LdapBindAuthenticationProvider.php | 2 |
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); |