mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-15 04:36:34 +00:00
Merge branch 'main' into production
This commit is contained in:
commit
17b289e6e2
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class PasswordReset(View):
|
||||||
except models.PasswordReset.DoesNotExist:
|
except models.PasswordReset.DoesNotExist:
|
||||||
raise PermissionDenied
|
raise PermissionDenied
|
||||||
|
|
||||||
return TemplateResponse(request, "password_reset.html")
|
return TemplateResponse(request, "password_reset.html", {"code": code})
|
||||||
|
|
||||||
def post(self, request, code):
|
def post(self, request, code):
|
||||||
""" allow a user to change their password through an emailed token """
|
""" allow a user to change their password through an emailed token """
|
||||||
|
|
Loading…
Reference in a new issue