appli_socle/views: check creation of new users on the form not the view
This commit is contained in:
parent
371f689830
commit
884caf55b6
|
@ -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'])
|
||||
|
|
Reference in New Issue