Skip to content

Commit bc2c217

Browse files
TopGear : Update login retUrl to topgear-app
1 parent 38e9f90 commit bc2c217

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/shared/containers/tc-communities/Loader.jsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,10 @@ class Loader extends React.Component {
5151
* clear, what exactly do we need to support it in general. */
5252
if ((communityId === 'wipro' || communityId === 'comcast') && !visitorGroups) {
5353
const returnUrl = encodeURIComponent(window.location.href);
54-
let subpath = 'member';
5554
if (communityId === 'wipro') {
56-
subpath = 'sso-login/';
55+
window.location = `${config.URL.AUTH}/?retUrl=${config.URL.TOPGEAR}`;
5756
}
58-
window.location = `${config.URL.AUTH}/${subpath}?retUrl=${returnUrl}&utm_source=${communityId}`;
57+
window.location = `${config.URL.AUTH}/member?retUrl=${returnUrl}&utm_source=${communityId}`;
5958
}
6059
}
6160

0 commit comments

Comments
 (0)