We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d7dc41 commit 0624c73Copy full SHA for 0624c73
web-assets/js/setupAuth0.js
@@ -281,10 +281,16 @@ const authSetup = function () {
281
}
282
283
function correctOldUrl() {
284
- let pattern = '#!/member';
285
- if (window.location.href.indexOf(pattern) > -1) {
+ const pattern = '#!/member';
+ const sso_pattern = '/#!/sso-login';
286
+
287
+ if (window.location.href.indexOf(pattern) > -1) {
288
window.location.href = window.location.href.replace(pattern, '');
289
290
291
+ if (window.location.href.indexOf(sso_pattern) > -1) {
292
+ window.location.href = window.location.href.replace(sso_pattern, '');
293
+ }
294
295
296
init();
0 commit comments