do not clear hash on replacing history
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user