Commit 8e7f2eda authored by shenshuo's avatar shenshuo

把邮箱也放入cookie

parent 9f5b10ca
......@@ -65,7 +65,7 @@ class BaseHandler(RequestHandler):
self.set_secure_cookie("user_id", self.user_id)
self.set_secure_cookie("nickname", self.nickname)
self.set_secure_cookie("username", self.username)
self.set_secure_cookie("email", self.email)
self.set_secure_cookie("email", str(self.email))
self.is_superuser = self.is_super
### SDK 不用处理鉴权
# my_verify = MyVerify(self.user_id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment