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