on laisse l acces pendant 3 jours avec une page sur squid pour ceux qui n ont pas encore readhere
darcs-hash:20071001030754-aaf26-79518db99937f10f3151b621465b830afb997548.gz
This commit is contained in:
parent
6cc7839736
commit
21dd21e74d
1 changed files with 3 additions and 0 deletions
|
@ -54,6 +54,9 @@ def do_auth(mac):
|
|||
if dat[1] in (8, 9):
|
||||
# En septembre les anciennes adhésions sont OK
|
||||
ann_scol -= 1
|
||||
elif dat[1] = 10 and dat[0] in (1,2,3):
|
||||
# On laisse 3 jours ou les gens ont une page sur squid
|
||||
ann_scol -= 1
|
||||
if ann_scol > paid:
|
||||
return (-1, "Échec test LDAP")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue