Browse files

Fixed a typo in the docs

  • Loading branch information...
1 parent ebfc55a commit 1b5459e5b24e51f699fe25d233676828187dff04 @mitsuhiko committed Jul 25, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 docs/index.rst
@@ -59,6 +59,7 @@ The current logged in user has to memorized somewhere, we will use the
def lookup_current_user():
g.user = None
if 'openid' in session:
+ openid = session['openid']
g.user = User.query.filter_by(openid=openid).first()
This assumes the openid used for a user is stored in the user table

0 comments on commit 1b5459e

Please sign in to comment.