[radius_auth] artefact du BatG
Ignore-this: 8b00805113e688b41bd5e81e0d552d99 Quand le bâtiment était routé à part, c'est bien ça ? darcs-hash:20121107164118-28565-f132011974a9920f64ad19ff0389bae993f8cc56.gz
This commit is contained in:
parent
3920ac216a
commit
9af8daef9d
1 changed files with 1 additions and 2 deletions
|
@ -40,7 +40,6 @@ def do_auth(mac):
|
||||||
if len(m) == 0:
|
if len(m) == 0:
|
||||||
return (0, "Mac inconnue", "accueil")
|
return (0, "Mac inconnue", "accueil")
|
||||||
elif len(m) > 1:
|
elif len(m) > 1:
|
||||||
if not m[0].proprietaire().chbre().startswith('G'):
|
|
||||||
return (-1, "Pb recherche mac (nb résultat %d!=1)" % len(m), "")
|
return (-1, "Pb recherche mac (nb résultat %d!=1)" % len(m), "")
|
||||||
|
|
||||||
# N'appartient pas au Crans et n'a pas de prise attribuée
|
# N'appartient pas au Crans et n'a pas de prise attribuée
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue