ncauth_main.py 282 Bytes BlameHistoryPermalink Edit 1 2 3 4 5 6 7 8 9 import tornado.escape import ncauth.base class ncauth_main(ncauth_base): def get(self): if not self.current_user: self.redirect("/login") return name = tornado.escape.xhtml_escape(self.current_user) self.write("Hallo, " + name)