diff --git a/appli_project/appli_socle/views.py b/appli_project/appli_socle/views.py index 562a7b7..f664dc2 100644 --- a/appli_project/appli_socle/views.py +++ b/appli_project/appli_socle/views.py @@ -252,7 +252,7 @@ class VueCodeDeConfirmationEmail(FormView): _(u'confirmation de l\'email {email} avec le jeton {jeton}'), email=form.value['email'], jeton=form.cleaned_data['jeton']) - if getattr(self, 'created', False): + if getattr(form, 'created', False): self.request.record('nouveau-compte-offre', _(u'création du compte {email}'), email=form.value['email'])