feat: forgot password/reset password

This commit is contained in:
sam 2024-12-14 16:32:08 +01:00
parent 26b32b40e2
commit 9d33093339
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
17 changed files with 374 additions and 25 deletions

View file

@ -35,7 +35,7 @@
</div>
</div>
<div class="col-md">
<FormStatusMarker {form} />
<FormStatusMarker {form} successMessage={$t("auth.password-changed-hint")} />
<h4>Change password</h4>
<form method="POST" action="?/password">
<div class="mb-1">

View file

@ -61,7 +61,13 @@
"add-email-address": "Add email address",
"no-email-addresses": "You haven't linked any email addresses yet.",
"check-inbox-for-link-hint": "Check your inbox for a link!",
"successful-link-email": "Your account has successfully been linked to the following email address:"
"successful-link-email": "Your account has successfully been linked to the following email address:",
"reset-password-button": "Reset password",
"log-in-forgot-password-link": "Forgot your password?",
"log-in-sign-up-link": "Sign up with email",
"forgot-password-title": "Forgot password",
"reset-password-title": "Reset password",
"password-changed-hint": "Your password has been changed!"
},
"error": {
"bad-request-header": "Something was wrong with your input",