Skip to content

Commit 6f154da

Browse files
committedApr 10, 2022
Now keeping query string upon redirect
1 parent 6a3d559 commit 6f154da

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎dashboard.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@
1313
return;
1414
});
1515
if (auth) {
16-
window.location.replace("pdashboard.html");
16+
window.location.replace("pdashboard.html" + location.search);
1717
}
1818
else {
19-
window.location.replace("udashboard.html");
19+
window.location.replace("udashboard.html" + location.search);
2020
}
2121
} catch (error) {
2222
console.log(error);
23-
window.location.replace("udashboard.html");
23+
window.location.replace("udashboard.html" + location.search);
2424
}
2525
};
2626

2727
var error_fn = function(jqXHR, status, error) {
28-
window.location.replace("udashboard.html");
28+
window.location.replace("udashboard.html" + location.search);
2929
};
3030

3131
var url = window.location.origin + "/authn/session";
@@ -34,4 +34,4 @@
3434
load_page();
3535
</script>
3636
</head>
37-
</html>
37+
</html>

0 commit comments

Comments
 (0)
Please sign in to comment.