Skip to content

Commit 3284cd4

Browse files
committed
Fix deprecation messages
1 parent bbbc12b commit 3284cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Authentication/Provider/LdapBindAuthenticationProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ protected function checkAuthentication(UserInterface $user, UsernamePasswordToke
8989
if ('' !== $this->searchDn && '' !== $this->searchPassword) {
9090
$this->ldap->bind($this->searchDn, $this->searchPassword);
9191
} else {
92-
@trigger_error('Using the "query_string" config without using a "search_dn" and a "search_password" is deprecated since Symfony 4.4 and will throw in Symfony 5.0.', E_USER_DEPRECATED);
92+
@trigger_error('Using the "query_string" config without using a "search_dn" and a "search_password" is deprecated since Symfony 4.4 and will throw an exception in Symfony 5.0.', E_USER_DEPRECATED);
9393
}
9494
$query = str_replace('{username}', $username, $this->queryString);
9595
$result = $this->ldap->query($this->dnString, $query)->execute();

0 commit comments

Comments
 (0)