auth.py: correct droits force_ma
This commit is contained in:
parent
b6d15e3c3f
commit
9cd166ca69
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ def decide_vlan(data, is_wifi, conn):
|
|||
# Si l'adhérent n'est pas membre actif, il doit se brancher depuis la
|
||||
# prise d'un autre adhérent à jour de cotisation
|
||||
force_ma = False
|
||||
is_ma = proprio.has_key('droits')
|
||||
is_ma = bool(proprio.get('droits', False))
|
||||
if chbre is None and not is_ma:
|
||||
decision = "accueil", u"Chambre inconnue"
|
||||
elif chbre is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue