appli_socle/forms: fix bug introduced in previous commit
This commit is contained in:
parent
6bcf098213
commit
af09a85dc3
|
@ -223,7 +223,7 @@ class CodeDeConfirmationForm(forms.Form):
|
|||
}
|
||||
self.user_cache, self.created = models.ProfilOffre.objects.get_or_create(**kwargs)
|
||||
self.user_cache.backend = 'appli_project.appli_socle.backends.ProfilOffreMoteurAuthentification'
|
||||
if created:
|
||||
if self.created:
|
||||
self.user_cache.set_unusable_password()
|
||||
else:
|
||||
user_id = self.value['user_id']
|
||||
|
|
Reference in New Issue