fix LDAP install for systems without ldap extension (#846)
This commit is contained in:
@@ -5,7 +5,7 @@ security:
|
||||
providers:
|
||||
chain_provider:
|
||||
chain:
|
||||
providers: [fos_userbundle, kimai_ldap]
|
||||
providers: [fos_userbundle]
|
||||
kimai_ldap:
|
||||
id: App\Ldap\LdapUserProvider
|
||||
fos_userbundle:
|
||||
@@ -31,9 +31,6 @@ security:
|
||||
lifetime: 604800
|
||||
path: /
|
||||
|
||||
# activate the LdapAuthenticationProvider
|
||||
kimai_ldap: ~
|
||||
|
||||
# activate all configured user provider
|
||||
provider: chain_provider
|
||||
|
||||
|
||||
@@ -132,9 +132,6 @@ services:
|
||||
# LDAP
|
||||
# ================================================================================
|
||||
|
||||
Zend\Ldap\Ldap:
|
||||
class: App\Ldap\ZendLdap
|
||||
|
||||
kimai_ldap.security.authentication.provider:
|
||||
class: App\Ldap\LdapAuthenticationProvider
|
||||
arguments: ['@App\Security\UserChecker', '', '', '', '@App\Configuration\LdapConfiguration', '%security.authentication.hide_user_not_found%']
|
||||
|
||||
Reference in New Issue
Block a user