mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 08:36:32 +00:00
Merge pull request #814 from mouse-reeve/password-reset
Fixes password reset
This commit is contained in:
commit
fd97b167e1
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class PasswordReset(View):
|
|||
except models.PasswordReset.DoesNotExist:
|
||||
raise PermissionDenied
|
||||
|
||||
return TemplateResponse(request, "password_reset.html")
|
||||
return TemplateResponse(request, "password_reset.html", {"code": code})
|
||||
|
||||
def post(self, request, code):
|
||||
""" allow a user to change their password through an emailed token """
|
||||
|
|
Loading…
Reference in a new issue