radius:s/fil/adherents/ (config.rid_primaires only)
This commit is contained in:
parent
98b591978c
commit
52a4cefdb5
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ def get_prise_chbre(data):
|
||||||
def realm_of_machine(machine):
|
def realm_of_machine(machine):
|
||||||
"""Renvoie le `realm` d'une machine. Don't ask"""
|
"""Renvoie le `realm` d'une machine. Don't ask"""
|
||||||
if isinstance(machine, lc_ldap.objets.machineFixe):
|
if isinstance(machine, lc_ldap.objets.machineFixe):
|
||||||
return 'fil'
|
return 'adherents'
|
||||||
elif isinstance(machine, lc_ldap.objets.machineWifi):
|
elif isinstance(machine, lc_ldap.objets.machineWifi):
|
||||||
return 'wifi-adh'
|
return 'wifi-adh'
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue