From 30e70346b36c3b0182a62c286fdb25d3e88631a4 Mon Sep 17 00:00:00 2001 From: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com> Date: Thu, 2 May 2024 12:49:47 +0200 Subject: [PATCH] redirect to the root without an opener --- src/Umbraco.Web.UI.Client/src/apps/app/app.element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/apps/app/app.element.ts b/src/Umbraco.Web.UI.Client/src/apps/app/app.element.ts index 598f8e2ad6..8304a81d16 100644 --- a/src/Umbraco.Web.UI.Client/src/apps/app/app.element.ts +++ b/src/Umbraco.Web.UI.Client/src/apps/app/app.element.ts @@ -74,7 +74,7 @@ export class UmbAppElement extends UmbLitElement { this.#authContext?.completeAuthorizationRequest().finally(() => { // If we don't have an opener, redirect to the root if (!window.opener) { - //history.replaceState(null, '', ''); + history.replaceState(null, '', ''); } }); },