Skip to content

Commit 1002329

Browse files
committed
fix: browser login should show login complete page instead of account page on sign in
1 parent 0d2982a commit 1002329

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/services/login-browser.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,16 +307,16 @@ define(function (require, exports, module) {
307307
return;
308308
}
309309

310-
const accountURL = _getAccountWebURL();
310+
const signInURL = _getAccountWebURL() + "authorizeBrowserApp";
311311

312312
// Open account URL in new tab
313-
const newTab = window.open(accountURL, '_blank');
313+
const newTab = window.open(signInURL, '_blank');
314314

315315
if (!newTab) {
316316
Dialogs.showModalDialog(
317317
DefaultDialogs.DIALOG_ID_ERROR,
318318
Strings.SIGNED_IN_FAILED_TITLE,
319-
StringUtils.format(Strings.POPUP_BLOCKED, accountURL)
319+
StringUtils.format(Strings.POPUP_BLOCKED, _getAccountWebURL())
320320
);
321321
return;
322322
}

0 commit comments

Comments
 (0)