Parcourir la source

Fix for VPN sync_to_ldap

Fabs il y a 10 ans
Parent
commit
308d1cf991
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      coin/vpn/models.py

+ 1 - 1
coin/vpn/models.py

@@ -45,7 +45,7 @@ class VPNSubscription(CoinLdapSyncMixin, models.Model):
         subnets = self.administrative_subscription.ip_subnet.all()
         subnets = self.administrative_subscription.ip_subnet.all()
         return [subnet for subnet in subnets if subnet.inet.version == version]
         return [subnet for subnet in subnets if subnet.inet.version == version]
 
 
-    def sync_to_ldap(self, creation):
+    def sync_to_ldap(self, creation, *args, **kwargs):
         if creation:
         if creation:
             config = LdapVPNConfig()
             config = LdapVPNConfig()
         else:
         else: