mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-04 10:14:13 +08:00
Allow option to re-direct on logout action
- Add logout configuration - Change auth.service.ts to re-direct instead of posting depending on configuration
This commit is contained in:
parent
606d1540e3
commit
3cd6efcc3f
5 changed files with 34 additions and 5 deletions
|
@ -56,6 +56,7 @@ services:
|
|||
$subpanelTopActions: '%module.subpanel.top_actions%'
|
||||
$subpanelTopButtons: '%module.subpanel.top_buttons%'
|
||||
$ldapAutoCreateExtraFieldsMap: '%ldap.autocreate.extra_fields_map%'
|
||||
$logoutConfig: '%auth.logout%'
|
||||
_instanceof:
|
||||
App\Process\Service\ProcessHandlerInterface:
|
||||
tags: [ 'app.process.handler' ]
|
||||
|
@ -296,6 +297,8 @@ services:
|
|||
alias: App\SystemConfig\Service\SystemConfigProviderInterface
|
||||
public: true
|
||||
|
||||
Symfony\Component\Security\Http\Logout\LogoutUrlGenerator: '@security.logout_url_generator'
|
||||
|
||||
App\UserPreferences\Service\UserPreferencesProviderInterface: '@App\UserPreferences\LegacyHandler\UserPreferenceHandler'
|
||||
App\ViewDefinitions\Service\ViewDefinitionsProviderInterface: '@App\ViewDefinitions\LegacyHandler\ViewDefinitionsHandler'
|
||||
App\Engine\Service\FolderSync\FolderComparatorInterface: '@App\Engine\Service\FolderSync\FolderComparator'
|
||||
|
|
4
config/services/auth/logout.yaml
Normal file
4
config/services/auth/logout.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
parameters:
|
||||
auth.logout:
|
||||
path: "%auth.logout.path%"
|
||||
redirect: "%auth.logout.redirect%"
|
|
@ -29,3 +29,4 @@ parameters:
|
|||
recordview_actions_limits: true
|
||||
ui: true
|
||||
extensions: true
|
||||
logout: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue