freeradius/auth.py: petites typo logique
This commit is contained in:
parent
5f9ee2e593
commit
2134a11b44
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ def decide_vlan(data, is_wifi, conn):
|
||||||
# prise d'un autre adhérent à jour de cotisation
|
# prise d'un autre adhérent à jour de cotisation
|
||||||
force_ma = False
|
force_ma = False
|
||||||
is_ma = proprio.has_key('droits')
|
is_ma = proprio.has_key('droits')
|
||||||
if chbre is None and is_ma:
|
if chbre is None and not is_ma:
|
||||||
decision = "accueil", u"Chambre inconnue"
|
decision = "accueil", u"Chambre inconnue"
|
||||||
elif chbre is not None:
|
elif chbre is not None:
|
||||||
chbre = escape_ldap(chbre)
|
chbre = escape_ldap(chbre)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue