mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-04 10:14:13 +08:00
Remove profile-auth prefix from 2fa routes
This commit is contained in:
parent
cef2839320
commit
f0e42a0a1e
4 changed files with 10 additions and 10 deletions
|
@ -91,10 +91,10 @@ return static function (ContainerConfigurator $containerConfig) {
|
|||
['path' => '^/logout$', 'roles' => 'PUBLIC_ACCESS'],
|
||||
['path' => '^/login$', 'roles' => 'PUBLIC_ACCESS'],
|
||||
['path' => '^/session-status$', 'roles' => 'PUBLIC_ACCESS'],
|
||||
['path' => '^/profile-auth/2fa/enable-finalize', 'roles' => 'ROLE_USER'],
|
||||
['path' => '^/profile-auth/2fa/check', 'roles' => 'IS_AUTHENTICATED_2FA_IN_PROGRESS'],
|
||||
['path' => '^/profile-auth/2fa/enable', 'roles' => 'ROLE_USER'],
|
||||
['path' => '^/profile-auth/2fa/disable', 'roles' => 'ROLE_USER'],
|
||||
['path' => '^/2fa/enable-finalize', 'roles' => 'ROLE_USER'],
|
||||
['path' => '^/2fa/check', 'roles' => 'IS_AUTHENTICATED_2FA_IN_PROGRESS'],
|
||||
['path' => '^/2fa/enable', 'roles' => 'ROLE_USER'],
|
||||
['path' => '^/2fa/disable', 'roles' => 'ROLE_USER'],
|
||||
['path' => '^/$', 'roles' => 'PUBLIC_ACCESS'],
|
||||
['path' => '^/api', 'roles' => 'PUBLIC_ACCESS'],
|
||||
['path' => '^/api/graphql', 'roles' => 'PUBLIC_ACCESS'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue