Skip to content

Commit

Permalink
do not clear hash on replacing history
Browse files Browse the repository at this point in the history
  • Loading branch information
aine-etke committed Jan 14, 2025
1 parent 5ed5a88 commit 44d801a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pages/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ const LoginPage = () => {
// Prevent further requests
const previousUrl = new URL(window.location.toString())
previousUrl.searchParams.delete("loginToken")
previousUrl.hash = ""
window.history.replaceState({}, "", previousUrl.toString());
const baseUrl = localStorage.getItem("sso_base_url");
localStorage.removeItem("sso_base_url");
Expand Down

0 comments on commit 44d801a

Please sign in to comment.