auth.py: pas d'anti-squattage pour les XclY
This commit is contained in:
parent
9d167a16da
commit
8b81118e30
1 changed files with 4 additions and 0 deletions
|
@ -388,6 +388,10 @@ def decide_vlan(data, is_wifi, conn):
|
|||
is_ma = bool(proprio.get('droits', False))
|
||||
if chbre is None and not is_ma:
|
||||
decision = "accueil", u"Chambre inconnue"
|
||||
elif 'cl' in chbre:
|
||||
# Pour les locaux clubs, il n'y a pas forcément un club sédentaire
|
||||
# (typiquement, les locaux sous digicode)
|
||||
decision = decision[0], decision[1] + u' (local club)'
|
||||
elif chbre is not None:
|
||||
for hebergeur in hebergeurs:
|
||||
# Si on est hébergé par un adhérent ok, ou que c'est notre
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue