diff --git a/authentik/admin/urls.py b/authentik/admin/urls.py index 0974fd370..fb116ccc8 100644 --- a/authentik/admin/urls.py +++ b/authentik/admin/urls.py @@ -169,22 +169,22 @@ urlpatterns = [ ), # Stage Prompts path( - "stages/prompts/", + "stages_prompts/", stages_prompts.PromptListView.as_view(), name="stage-prompts", ), path( - "stages/prompts/create/", + "stages_prompts/create/", stages_prompts.PromptCreateView.as_view(), name="stage-prompt-create", ), path( - "stages/prompts//update/", + "stages_prompts//update/", stages_prompts.PromptUpdateView.as_view(), name="stage-prompt-update", ), path( - "stages/prompts//delete/", + "stages_prompts//delete/", stages_prompts.PromptDeleteView.as_view(), name="stage-prompt-delete", ), diff --git a/web/src/interfaces/AdminInterface.ts b/web/src/interfaces/AdminInterface.ts index 00c437176..f38154d62 100644 --- a/web/src/interfaces/AdminInterface.ts +++ b/web/src/interfaces/AdminInterface.ts @@ -41,7 +41,7 @@ export const SIDEBAR_ITEMS: SidebarItem[] = [ new SidebarItem("Flows").children( new SidebarItem("Flows", "/administration/flows/").activeWhen(`^/flows/(?${SLUG_REGEX})$`), new SidebarItem("Stages", "/administration/stages/"), - new SidebarItem("Prompts", "/administration/stages/prompts/"), + new SidebarItem("Prompts", "/administration/stages_prompts/"), new SidebarItem("Invitations", "/administration/stages/invitations/"), ).when((): Promise => { return User.me().then(u => u.is_superuser);