fall back to regular tornado authentication decorator
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
import atst
|
||||
from atst.handler import BaseHandler, authenticated
|
||||
import tornado
|
||||
from atst.handler import BaseHandler
|
||||
|
||||
class MainHandler(BaseHandler):
|
||||
|
||||
def initialize(self, page):
|
||||
self.page = page
|
||||
|
||||
@authenticated
|
||||
@tornado.web.authenticated
|
||||
def get(self):
|
||||
self.render( '%s.html.to' % self.page, page = self.page )
|
||||
|
Reference in New Issue
Block a user