fix: preserve skill deep link through login flow
This commit is contained in:
1 parent
1d31de4796
commit
bbe241348e
2 files changed
+27
-2
No files matched your search
@@ -1376,6 +1376,11 @@
|
||||
window.location.href = dest;
|
||||
return;
|
||||
}
|
||||
try {
|
||||
sessionStorage.setItem("post_login_redirect", dest);
|
||||
} catch (error) {
|
||||
console.warn("sessionStorage unavailable", error);
|
||||
}
|
||||
const params = new URLSearchParams({ v: "20261107", redirect: dest });
|
||||
window.location.href = "/login/?" + params.toString();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user