modifié: superTornado.py
This commit is contained in:
parent
a8c3cac327
commit
d440599dfc
@ -16,7 +16,7 @@ from login import *
|
|||||||
confAveug = False
|
confAveug = False
|
||||||
ficLog = Login()
|
ficLog = Login()
|
||||||
|
|
||||||
class BaseHandler(tornado.web.RequestHandler,HTTPRequest):
|
class BaseHandler(tornado.web.RequestHandler):
|
||||||
def get_current_user(self):
|
def get_current_user(self):
|
||||||
return self.get_secure_cookie("user")
|
return self.get_secure_cookie("user")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user