[radius_auth] On mets les manquements de cartes étudiant sur accueil pour pouvoir leur afficher le portail captif
This commit is contained in:
parent
406a6033f7
commit
e13227bebe
1 changed files with 3 additions and 0 deletions
|
@ -70,6 +70,9 @@ def do_auth(mac, prise):
|
||||||
if ('virus' in m[0].blacklist_actif() or 'ipv6_ra' in m[0].blacklist_actif()
|
if ('virus' in m[0].blacklist_actif() or 'ipv6_ra' in m[0].blacklist_actif()
|
||||||
or 'autodisc_virus' in m[0].blacklist_actif()):
|
or 'autodisc_virus' in m[0].blacklist_actif()):
|
||||||
return (0, "Bad boy", "isolement")
|
return (0, "Bad boy", "isolement")
|
||||||
|
|
||||||
|
if ('carte_etudiant' in m[0].blacklist_actif()):
|
||||||
|
return (0, "Manque carte etudiant", "accueil")
|
||||||
|
|
||||||
# Paiement proprio ?
|
# Paiement proprio ?
|
||||||
if not paiement_ok(proprio):
|
if not paiement_ok(proprio):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue