diff --git a/src/Umbraco.Web.UI.Client/apps/auth/src/login.element.ts b/src/Umbraco.Web.UI.Client/apps/auth/src/login.element.ts index e80411c49f..3d13f919b9 100644 --- a/src/Umbraco.Web.UI.Client/apps/auth/src/login.element.ts +++ b/src/Umbraco.Web.UI.Client/apps/auth/src/login.element.ts @@ -44,7 +44,7 @@ export default class UmbLogin extends LitElement { try { this._loggingIn = false; - alert('go back to the backoffice'); + window.postMessage({ type: 'login', username, persist }, '*'); } catch (error) { console.log(error); this._loggingIn = false;