forked from mirrors/bookwyrm
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:
|
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