Update src/vector/app.tsx
This commit is contained in:
committed by
GitHub
parent
e15d1c1501
commit
438eef0acd
@@ -121,7 +121,7 @@ function onTokenLoginCompleted() {
|
||||
// clear them.
|
||||
const url = new URL(window.location.href);
|
||||
|
||||
url.searchParams.delete('loginToken');
|
||||
url.searchParams.delete("loginToken");
|
||||
|
||||
console.log(`Redirecting to ${url.href} to drop loginToken from queryparams`);
|
||||
window.history.replaceState(null, "", url.href);
|
||||
|
||||
Reference in New Issue
Block a user