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

Commit 42e763f

Browse files
committed
Fix logout not working properly
1 parent 6181c9e commit 42e763f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
}
9494
9595
var serverName = '<%=ApplicationServer.SERVER_NAME%>';
96+
var auth0Server = '<%=Constants.DOMAIN_AUTH0%>';
9697
var prodUrl = 'topcoder.com';
9798
var scriptURL = '//uni-nav.topcoder-dev.com/v1/tc-universal-nav.js';
9899
@@ -124,7 +125,7 @@
124125
user,
125126
toolRoot: '/PactsMemberServlet?module=PaymentHistory&full_list=true',
126127
signOut() {
127-
window.location.replace("http://" + serverName + "/tc?module=Logout");
128+
window.location.replace("https://" + auth0Server + "/?logout=true&retUrl=https://" + serverName);
128129
}
129130
});
130131

0 commit comments

Comments
 (0)