Disabled password reset and left message notifying user of problem. In response to CVE-2019-19844

This commit is contained in:
Matthew Smith
2020-01-17 12:29:15 +00:00
parent 4ad12ab40a
commit b5e61adde5
3 changed files with 13 additions and 1 deletions

View File

@@ -392,3 +392,6 @@ class ResetApiKey(generic.RedirectView):
self.request.user.save()
return reverse_lazy('profile_detail')
class PasswordResetDisabled(generic.TemplateView):
template_name = "RIGS/password_reset_disable.html"