fall back to regular tornado authentication decorator

This commit is contained in:
dandds
2018-06-12 15:13:22 -04:00
parent 4e61b08330
commit 34f3c7776b
7 changed files with 16 additions and 23 deletions

View File

@@ -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 )