Browse Source

Update src/vector/app.tsx

pull/16415/head
Michael Telatynski 2 years ago committed by GitHub
parent
commit
438eef0acd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/vector/app.tsx

2
src/vector/app.tsx

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

Loading…
Cancel
Save