mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-04 10:14:13 +08:00
Add two factor security config to ldap
This commit is contained in:
parent
841c48503e
commit
05f5a40bc3
2 changed files with 23 additions and 0 deletions
|
@ -227,6 +227,17 @@ return static function (ContainerConfigurator $containerConfig) {
|
|||
],
|
||||
'logout' => [
|
||||
'path' => 'app_logout'
|
||||
],
|
||||
'two_factor' => [
|
||||
'check_path' => 'app_2fa_check',
|
||||
'prepare_on_login' => true,
|
||||
'prepare_on_access_denied' => true,
|
||||
'auth_code_parameter_name' => '_auth_code',
|
||||
'default_target_path' => '/',
|
||||
'provider' => 'app_user_provider',
|
||||
'authentication_required_handler' => '2fa_required',
|
||||
'success_handler' => '2fa_success',
|
||||
'failure_handler' => '2fa_failed'
|
||||
]
|
||||
],
|
||||
]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue