From: hernani Date: Mon, 10 May 2010 13:46:29 +0000 (+0000) Subject: More openid errors. X-Git-Tag: live~939 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/03c567aede203158152a15a9f46e0e6711db4282 More openid errors. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@190 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum_modules/openidauth/authentication.py b/forum_modules/openidauth/authentication.py index 6802cb0..9163b5c 100644 --- a/forum_modules/openidauth/authentication.py +++ b/forum_modules/openidauth/authentication.py @@ -45,7 +45,7 @@ class AolAuthContext(ConsumerTemplateContext): class MyOpenIdAuthConsumer(OpenIdAbstractAuthConsumer): dataype2ax_schema = { - 'username': ('http://schema.openid.net/namePerson/friendly', 'friendly'), + #'username': ('http://schema.openid.net/namePerson/friendly', 'friendly'), 'email': 'http://schema.openid.net/contact/email', 'web': 'http://schema.openid.net/contact/web/default', 'birthdate': ('http://schema.openid.net/birthDate', 'birthDate'), diff --git a/forum_modules/openidauth/consumer.py b/forum_modules/openidauth/consumer.py index 1702390..650c6f6 100644 --- a/forum_modules/openidauth/consumer.py +++ b/forum_modules/openidauth/consumer.py @@ -21,8 +21,8 @@ class OpenIdAbstractAuthConsumer(AuthenticationConsumer): 'username': 'http://axschema.org/namePerson/friendly', 'email': 'http://axschema.org/contact/email', 'web': 'http://axschema.org/contact/web/default', - 'firstname': 'http://axschema.org/namePerson/first', - 'lastname': 'http://axschema.org/namePerson/last', + #'firstname': 'http://axschema.org/namePerson/first', + #'lastname': 'http://axschema.org/namePerson/last', 'birthdate': 'http://axschema.org/birthDate', }