Skip to content

Commit

Permalink
[req-changes] Use "secret" instead of "zt_identity_secret"
Browse files Browse the repository at this point in the history
  • Loading branch information
Aryamanz29 committed Aug 23, 2023
1 parent 4f2326d commit 4e307fb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions openwisp_network_topology/integrations/device/base/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,7 @@ def auto_create_zerotier(cls, node):
return

Device = load_model('config', 'Device')
device_filter = models.Q(
config__vpnclient__zt_identity_secret__startswith=member_id
)
device_filter = models.Q(config__vpnclient__secret__startswith=member_id)
if node.organization_id:
device_filter &= models.Q(organization_id=node.organization_id)
device = (
Expand Down

0 comments on commit 4e307fb

Please sign in to comment.