commit | 1b5459e5b24e51f699fe25d233676828187dff04 | [log] [tgz] |
---|---|---|
author | Armin Ronacher <armin.ronacher@active-4.com> | Sun Jul 25 14:12:04 2010 +0200 |
committer | Armin Ronacher <armin.ronacher@active-4.com> | Sun Jul 25 14:12:04 2010 +0200 |
tree | 257ebed413414da4d7f9d2a1ec2cab04baa84a37 | |
parent | ebfc55a43d96790d98e5024b09ba308eb0fb7ed4 [diff] |
Fixed a typo in the docs
diff --git a/docs/index.rst b/docs/index.rst index 9cb3d56..6ab4cc1 100644 --- a/docs/index.rst +++ b/docs/index.rst
@@ -59,6 +59,7 @@ 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