Skip to content

Commit

Permalink
Merge pull request tornadoweb#1034 from kouki-dan/work
Browse files Browse the repository at this point in the history
Delete description for cookie capacity
  • Loading branch information
bdarnell committed Apr 13, 2014
2 parents 213d721 + 73c8c21 commit c529205
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions demos/twitter/twitterdemo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c529205

Please sign in to comment.