LDAP: Fix routing error (#80984)

* Reorder auth routes

* Fix lockfile
This commit is contained in:
Tobias Skarhed 2024-01-22 14:59:16 +01:00 committed by GitHub
parent 20bb0a3ab1
commit dad5c9af8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -287,6 +287,10 @@ export function getAppRoutes(): RouteDescriptor[] {
)
: () => <Redirect to="/admin" />,
},
{
path: '/admin/authentication/ldap',
component: LdapPage,
},
{
path: '/admin/authentication/:provider',
roles: () => contextSrv.evaluatePermission([AccessControlAction.SettingsWrite]),
@ -355,10 +359,6 @@ export function getAppRoutes(): RouteDescriptor[] {
() => import(/* webpackChunkName: "ServerStats" */ 'app/features/admin/ServerStats')
),
},
{
path: '/admin/authentication/ldap',
component: LdapPage,
},
// LOGIN / SIGNUP
{
path: '/login',