[Python-modules-commits] [python-social-auth] 06/15: Minor consistency fix

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:13:34 UTC 2016


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to tag v0.2.11
in repository python-social-auth.

commit 6dd502464b1e7e77fd33ca3f4bf8990f0271fdd9
Author: Braden MacDonald <braden at opencraft.com>
Date:   Wed May 20 23:48:07 2015 -0700

    Minor consistency fix
---
 social/backends/saml.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/social/backends/saml.py b/social/backends/saml.py
index 703a886..c6ea5c9 100644
--- a/social/backends/saml.py
+++ b/social/backends/saml.py
@@ -40,7 +40,7 @@ class SAMLIdentityProvider(object):
 
         If you want to use the NameID, it's available via attributes['name_id']
         """
-        return attributes[self.conf.get('user_permanent_id', OID_USERID)][0]
+        return attributes[self.conf.get('attr_user_permanent_id', OID_USERID)][0]
 
     # Attributes processing:
     def get_user_details(self, attributes):

-- 
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