Merge pull request #814 from mouse-reeve/password-reset
Fixes password reset
This commit is contained in:
commit
fd97b167e1
|
@ -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 New Issue