[Python-modules-commits] [python-social-auth] 108/131: fix the flask example. #895
Wolfgang Borgert
debacle at moszumanska.debian.org
Sat Dec 24 15:17:09 UTC 2016
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to tag v0.2.20
in repository python-social-auth.
commit fb194f7f26d65a1f2f8c4398c1c60d68d0246991
Author: alexpantyukhin <apantykhin at gmail.com>
Date: Tue Apr 12 18:48:54 2016 +0500
fix the flask example. #895
---
examples/flask_example/__init__.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/examples/flask_example/__init__.py b/examples/flask_example/__init__.py
old mode 100644
new mode 100755
index cbfa7c6..07c1080
--- a/examples/flask_example/__init__.py
+++ b/examples/flask_example/__init__.py
@@ -48,7 +48,8 @@ def load_user(userid):
@app.before_request
def global_user():
- g.user = current_user
+ # evaluate proxy value
+ g.user = current_user._get_current_object()
@app.teardown_appcontext
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-social-auth.git
More information about the Python-modules-commits
mailing list