Consistency

This commit is contained in:
Tom Hubrecht 2021-06-10 11:15:59 +02:00
parent 97543a5663
commit 1eda6c65c2

View file

@ -103,7 +103,7 @@ class PasswordResetView(SuccessMessageMixin, auth_views.PasswordResetView):
success_url = reverse_lazy("authens:login")
def get_form_class(self):
return getattr(settings, "AUTHENS_PWD_RESET_FORM", PasswordResetForm)
return getattr(settings, "AUTHENS_PASSWORD_RESET_FORM", PasswordResetForm)
success_message = _(
"Un email de réinitialisation vient d'être envoyé à l'adresse indiquée !"