This commit is contained in:
parent
fca54b30dd
commit
1ccb1d0e7c
@ -23,6 +23,9 @@ document.querySelector("#login").onsubmit = async (event) => {
|
|||||||
window.location.pathname = "/";
|
window.location.pathname = "/";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
window.location.pathname = decodeURIComponent(params.get("refer"));
|
const refer = decodeURIComponent(params.get("refer"));
|
||||||
|
params.delete("refer")
|
||||||
|
window.location.search = params.toString();
|
||||||
|
window.location.pathname = refer;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user