modifié: superTornado.py
This commit is contained in:
parent
b88379ebc6
commit
342de246cc
@ -62,7 +62,7 @@ class UnauthorizedHandler(BaseHandler):
|
||||
self.render("illegal.html")
|
||||
def post(self):
|
||||
force = self.get_argument("illegalAccess","")
|
||||
if force == 1 :
|
||||
if force == "1" :
|
||||
self.set_secure_cookie("user", "illegalUser")
|
||||
else :
|
||||
self.redirect("/")
|
||||
|
Reference in New Issue
Block a user