Update src/vector/app.tsx
This commit is contained in:
+1
-1
@@ -121,7 +121,7 @@ function onTokenLoginCompleted() {
|
|||||||
// clear them.
|
// clear them.
|
||||||
const url = new URL(window.location.href);
|
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`);
|
console.log(`Redirecting to ${url.href} to drop loginToken from queryparams`);
|
||||||
window.history.replaceState(null, "", url.href);
|
window.history.replaceState(null, "", url.href);
|
||||||
|
|||||||
Reference in New Issue
Block a user