open login window in new _window_

This commit is contained in:
igoradamenko
2018-11-12 20:30:17 +02:00
parent 3f2bb253bd
commit d53e1be75f
+2 -1
View File
@@ -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;