From a58744a7d9d83e182e1a5a4d29d2d0142c564c8c Mon Sep 17 00:00:00 2001 From: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com> Date: Wed, 18 May 2022 13:24:12 +0200 Subject: [PATCH] Fix mock paths --- src/Umbraco.Web.UI.Client/src/mocks/handlers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/mocks/handlers.ts b/src/Umbraco.Web.UI.Client/src/mocks/handlers.ts index 68ddb88df0..c7d66953c0 100644 --- a/src/Umbraco.Web.UI.Client/src/mocks/handlers.ts +++ b/src/Umbraco.Web.UI.Client/src/mocks/handlers.ts @@ -12,7 +12,7 @@ export const handlers = [ ); }), - rest.post('/umbraco/backoffice/login', (_req, res, ctx) => { + rest.post('/umbraco/backoffice/user/login', (_req, res, ctx) => { // Persist user's authentication in the session sessionStorage.setItem('is-authenticated', 'true'); return res( @@ -21,7 +21,7 @@ export const handlers = [ ); }), - rest.post('/umbraco/backoffice/logout', (_req, res, ctx) => { + rest.post('/umbraco/backoffice/user/logout', (_req, res, ctx) => { // Persist user's authentication in the session sessionStorage.removeItem('is-authenticated'); return res(