From d53e1be75f3f85100a198f12aaf58cf148a7c813 Mon Sep 17 00:00:00 2001 From: igoradamenko Date: Mon, 12 Nov 2018 20:29:53 +0200 Subject: [PATCH] open login window in new _window_ --- web/app/components/root/root.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/app/components/root/root.jsx b/web/app/components/root/root.jsx index 51703d27..b9d3ff47 100644 --- a/web/app/components/root/root.jsx +++ b/web/app/components/root/root.jsx @@ -142,7 +142,8 @@ export default class Root extends Component { const newWindow = window.open( `${BASE_URL}/auth/${provider}/login?from=${encodeURIComponent( location.origin + location.pathname + '?selfClose' - )}&site=${siteId}` + )}&site=${siteId}`, + '_blank' ); let secondsPass = 0;