From dad5c9af8fa7d3edeb8bad607d46f3fba977a034 Mon Sep 17 00:00:00 2001 From: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com> Date: Mon, 22 Jan 2024 14:59:16 +0100 Subject: [PATCH] LDAP: Fix routing error (#80984) * Reorder auth routes * Fix lockfile --- public/app/routes/routes.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/app/routes/routes.tsx b/public/app/routes/routes.tsx index b585400f495..1a5aaab208f 100644 --- a/public/app/routes/routes.tsx +++ b/public/app/routes/routes.tsx @@ -287,6 +287,10 @@ export function getAppRoutes(): RouteDescriptor[] { ) : () => , }, + { + 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',