Fix ldap/ad auth anon-bind (#9905)

This commit is contained in:
Tony Murray
2019-03-05 12:14:21 -06:00
committed by GitHub
parent 57be00b82a
commit 0aded95985
2 changed files with 2 additions and 2 deletions

View File

@@ -322,7 +322,7 @@ class LdapAuthorizer extends AuthorizerBase
}
}
public function bind($credentials)
public function bind($credentials = [])
{
if (Config::get('auth_ldap_debug')) {
ldap_set_option(null, LDAP_OPT_DEBUG_LEVEL, 7);