fix(quickstart): redirect to login after account deletion

This commit is contained in:
lfleischmann
2023-05-30 16:44:11 +02:00
committed by GitHub
parent 59ace2ec61
commit a665fb73ba

View File

@ -42,6 +42,8 @@
const { hanko } = await register("{{.HankoUrl}}", { shadow: false });
hanko.onUserDeleted(() => window.location.href = "/" );
document.getElementById("logout-link")
.addEventListener("click", (event) => {
event.preventDefault();