Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 631385d

Browse files
committed
Additional logout URL fix
1 parent 42e763f commit 631385d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/com/topcoder/web/tc/view/pacts/client/PaymentHistory.jsp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@
9393
}
9494
9595
var serverName = '<%=ApplicationServer.SERVER_NAME%>';
96-
var auth0Server = '<%=Constants.DOMAIN_AUTH0%>';
96+
var auth0Server = '<%=bundle.getProperty("login_url", "");%>';
97+
var logoutURL = auth0Server + "?logout=true&retUrl=https://" + serverName;
9798
var prodUrl = 'topcoder.com';
9899
var scriptURL = '//uni-nav.topcoder-dev.com/v1/tc-universal-nav.js';
99100
@@ -125,7 +126,7 @@
125126
user,
126127
toolRoot: '/PactsMemberServlet?module=PaymentHistory&full_list=true',
127128
signOut() {
128-
window.location.replace("https://" + auth0Server + "/?logout=true&retUrl=https://" + serverName);
129+
window.location.replace(logoutURL);
129130
}
130131
});
131132

0 commit comments

Comments
 (0)