mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 08:36:32 +00:00
Fixes password reset
This commit is contained in:
parent
8f5e59d1e0
commit
621c0ea15a
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