Skip to content

Commit

Permalink
Delete description for cookie capacity
Browse files Browse the repository at this point in the history
  • Loading branch information
kouki-dan committed Apr 9, 2014
1 parent c20ab35 commit 73c8c21
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 73c8c21

Please sign in to comment.