Is your feature request related to a problem? Please describe.
When the LDAP connector is only used to synchronize accounts, but that another system is used to login (e.g. OAuth SSO), it would be nice to disallow users to login through the LDAP connector.
Describe the solution you'd like
Add a checkbox (checked by default) in the LDAP connector form: "Allow login with this LDAP connector".
In App\Service\LdapService::bindUser, check that the connector allows the login.
Describe alternatives you've considered
N/A
Additional context
N/A
Is your feature request related to a problem? Please describe.
When the LDAP connector is only used to synchronize accounts, but that another system is used to login (e.g. OAuth SSO), it would be nice to disallow users to login through the LDAP connector.
Describe the solution you'd like
Add a checkbox (checked by default) in the LDAP connector form: "Allow login with this LDAP connector".
In
App\Service\LdapService::bindUser, check that the connector allows the login.Describe alternatives you've considered
N/A
Additional context
N/A