correction de reconnexionGlobale

This commit is contained in:
Romain Beuque 2014-09-12 13:36:04 +02:00
parent 53ac78d4ae
commit 200170c7fa

View File

@ -1050,7 +1050,7 @@ class AllMembersEnableController(AuthenticatedRestController):
raise Exception('membre inconnu')
#end if
# On ne reconnecte que les membres ayant payé leur cotisation.
if CotisationComputes.is_cotisation_paid(member, self.user, residence_dn):
if CotisationComputes.is_cotisation_paid(member.dn, self.user, residence_dn):
dhcps = Machine.get_dhcps(self.user, member.dn)
machine_membre_tag = "machine_membre" # FIXME move to config