Formulaire personnalisé de réinitialisation de mot de passe #55

Closed
thubrecht wants to merge 3 commits from thubrecht/custom-reset into master
Showing only changes of commit 1eda6c65c2 - Show all commits

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 !"