ncauth_base.py 141 Bytes
import tornado

class ncauth_base(tornado.web.RequestHandler):
    def get_current_user(self):
        return self.get_secure_cookie("user")