]> git.openstreetmap.org Git - osqa.git/commitdiff
More openid errors.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 10 May 2010 13:46:29 +0000 (13:46 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 10 May 2010 13:46:29 +0000 (13:46 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@190 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum_modules/openidauth/authentication.py
forum_modules/openidauth/consumer.py

index 6802cb049815b0460ad5b6804df8d43fb63819da..9163b5c5227d73c24a3b1d6a233e82fb363c3408 100644 (file)
@@ -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'),
index 1702390a754e38e4d05e3b6ebcaeebbad533a830..650c6f64f64ba4b347d866a17bf82bb80bc4275b 100644 (file)
@@ -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',
     }