Skip to content

Commit

Permalink
bugfix: changed key of id from user to id in the user dict stored in …
Browse files Browse the repository at this point in the history
…the session
  • Loading branch information
jeunito committed Dec 5, 2012
1 parent 8b47b7d commit b16d2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/appengine/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def current_user(self):
user.access_token = cookie["access_token"]
user.put()
# User is now logged in
self.session["user"] = dict(name=user.name, profile_url=user.profile_url, user=user.id, access_token=user.access_token)
self.session["user"] = dict(name=user.name, profile_url=user.profile_url, id=user.id, access_token=user.access_token)
return self.session.get("user")
return None

Expand Down

0 comments on commit b16d2be

Please sign in to comment.