feat: implement password reset functionality
- Added PasswordResetPage component for user password reset. - Integrated password reset link in LoginPage with a router link. - Created API endpoints for requesting and confirming password resets. - Added email templates for password reset notifications. - Updated database schema to support password reset tokens. - Enhanced ProfilePage and EditProfileDialog to include personal data fields. - Introduced layout store to manage body dimensions for responsive design. - Added validation for personal data fields in profile management.
This commit is contained in:
12
registration/mails/password_reset_html.tmpl
Normal file
12
registration/mails/password_reset_html.tmpl
Normal file
@@ -0,0 +1,12 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<body>
|
||||
<p>Hi {{ .Name }},</p>
|
||||
<p>We received a request to reset the password for {{ .Email }}.</p>
|
||||
<p>
|
||||
Set a new password by opening this link:<br />
|
||||
<a href="{{ .PasswordResetURL }}">{{ .PasswordResetURL }}</a>
|
||||
</p>
|
||||
<p>If you did not request this, you can ignore this email.</p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user