Skip to content

Commit

Permalink
Fix reset email rendering (#148)
Browse files Browse the repository at this point in the history
* Fix reset email rendering

* Change template address
  • Loading branch information
yukitya-1811 authored May 9, 2024
1 parent 5d080bc commit 1f61002
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion corpus/accounts/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
path("signup/", signup, name="accounts_signup"),
path("login/", signin, name="accounts_signin"),
path("logout/", signout, name="accounts_signout"),
path("reset/", PasswordResetView.as_view(), name="password_reset"),
path("reset/", PasswordResetView.as_view(html_email_template_name="registration/password_reset_email.html"),
name="password_reset"),
path("reset/done/", PasswordResetDoneView.as_view(), name="password_reset_done"),
path(
"reset/confirm/<uidb64>/<token>/",
Expand Down

0 comments on commit 1f61002

Please sign in to comment.