From 1eda6c65c273cec92a94b1c4760f9ee76f5cdd14 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Thu, 10 Jun 2021 11:15:59 +0200 Subject: [PATCH] Consistency --- authens/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 !"