MCPcopy Create free account
hub / github.com/EasyIME/PIME / get_current_user

Method get_current_user

python/cinbase/configtool.py:58–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

56class BaseHandler(tornado.web.RequestHandler):
57
58 def get_current_user(self): # override the login check
59 return self.get_cookie(COOKIE_ID)
60
61 def prepare(self): # called before every request
62 self.application.reset_timeout() # reset the quit server timeout

Callers

nothing calls this directly

Calls 1

get_cookieMethod · 0.45

Tested by

no test coverage detected