redirect to the root without an opener

This commit is contained in:
Jacob Overgaard
2024-05-02 12:49:47 +02:00
parent 7d7e2afc77
commit 30e70346b3

View File

@@ -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, '', '');
}
});
},