Creating backend to handler password resets
This commit is contained in:
@ -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}}
|
||||
|
Reference in New Issue
Block a user