do not clear hash on replacing history

This commit is contained in:
Aine
2025-01-14 14:12:39 +02:00
parent 5ed5a88225
commit 44d801a2f5

View File

@@ -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");