mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-04 10:14:13 +08:00
Add ldap login fallback to native login
- Allow falling back to native login if ldap fails - Read configuration to enable / disable the fallback
This commit is contained in:
parent
db6afc52fc
commit
8c669180c5
2 changed files with 120 additions and 0 deletions
|
@ -147,6 +147,14 @@ services:
|
|||
- !abstract options
|
||||
- '@?property_accessor'
|
||||
|
||||
security.listener.json_login_ldap.main:
|
||||
class: App\Security\Ldap\AppCheckLdapCredentialsListener
|
||||
tags:
|
||||
- name: 'kernel.event_subscriber'
|
||||
dispatcher: security.event_dispatcher.main
|
||||
arguments:
|
||||
- '@security.ldap_locator'
|
||||
|
||||
App\Security\LegacySessionLogoutHandler:
|
||||
tags:
|
||||
- name: 'kernel.event_listener'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue