LdapUserBackend: disable "health check"

I see no point in checking this at every login. It could however be a
nice addition for our config backends and the setup wizard. I'd also
opt for completely removing this parameter - who wants to use this
method should explicitely call it.
This commit is contained in:
Thomas Gelf 2015-02-09 15:29:52 +01:00
parent 7b1b5b9b40
commit 81f65a7cd4
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ class LdapUserBackend extends UserBackend
* *
* @throws AuthenticationException In case an error occured or the health check has failed * @throws AuthenticationException In case an error occured or the health check has failed
*/ */
public function authenticate(User $user, $password, $healthCheck = true) public function authenticate(User $user, $password, $healthCheck = false)
{ {
if ($healthCheck) { if ($healthCheck) {
try { try {