Delete description for cookie capacity

This commit is contained in:
Kouki Saito 2014-04-09 19:31:27 +09:00
parent c20ab3547d
commit 73c8c218c5
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ class LoginHandler(BaseHandler, TwitterMixin):
def get(self):
if self.get_argument('oauth_token', None):
user = yield self.get_authenticated_user()
del user["description"]
self.set_secure_cookie(self.COOKIE_NAME, json_encode(user))
self.redirect(self.get_argument('next', '/'))
else: