Creating backend to handler password resets

This commit is contained in:
2024-08-21 12:54:25 +02:00
parent 333499f76e
commit b98b61aa76
8 changed files with 77 additions and 6 deletions

View File

@ -44,7 +44,7 @@ Reset Password
<script type="module">
import {reset} from "/static/js/login.js"
document.getElementById("reset-btn").addEventListener("click", () => {
reset({{.API}});
reset({{.API}}, {{index .Data "email"}});
})
</script>
{{end}}