@social-mail/social-mail-client 1.8.190 → 1.8.191

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -48895,7 +48895,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
48895
48895
  }
48896
48896
  openLoginPage() {
48897
48897
  if (SocialMailApp.config.externalLogin) {
48898
- location.href = SocialMailApp.config.externalLogin;
48898
+ const url = new URL(SocialMailApp.config.externalLogin);
48899
+ url.searchParams.append("returnUrl", location.href);
48900
+ location.href = url.toString();
48899
48901
  }
48900
48902
  PageNavigator.openPage(LoginPage);
48901
48903
  }