[Python-modules-commits] [python-social-auth] 245/322: Fix setting name (make it backend related). Refs #586
Wolfgang Borgert
debacle at moszumanska.debian.org
Sat Dec 24 15:13:15 UTC 2016
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to tag v0.2.10
in repository python-social-auth.
commit 2c1e6d6c71668a2370c23bdff199536de67d3c42
Author: Matías Aguirre <matiasaguirre at gmail.com>
Date: Sat Apr 11 04:00:16 2015 -0300
Fix setting name (make it backend related). Refs #586
---
social/actions.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/social/actions.py b/social/actions.py
index 330a51c..59a4d6d 100644
--- a/social/actions.py
+++ b/social/actions.py
@@ -74,7 +74,7 @@ def do_complete(backend, login, user=None, redirect_name='next',
url = setting_url(backend, redirect_value,
'LOGIN_REDIRECT_URL')
else:
- if backend.setting('SOCIAL_AUTH_INACTIVE_USER_LOGIN', False):
+ if backend.setting('INACTIVE_USER_LOGIN', False):
social_user = user.social_user
login(backend, user, social_user)
url = setting_url(backend, 'INACTIVE_USER_URL', 'LOGIN_ERROR_URL',
--
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