fddf
This commit is contained in:
parent
b0b5c37c9d
commit
7c6407924b
1 changed files with 0 additions and 3 deletions
|
@ -261,9 +261,6 @@ def before_request():
|
||||||
|
|
||||||
g.db = db_session()
|
g.db = db_session()
|
||||||
|
|
||||||
if g.db.query(IP).filter_by(addr=request.remote_addr).first():
|
|
||||||
abort(503)
|
|
||||||
|
|
||||||
g.timestamp = int(time.time())
|
g.timestamp = int(time.time())
|
||||||
|
|
||||||
session.permanent = True
|
session.permanent = True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue