diff --git a/authens/views.py b/authens/views.py index 110ceaa..36179a8 100644 --- a/authens/views.py +++ b/authens/views.py @@ -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 !"