]> git.openstreetmap.org Git - osqa.git/blobdiff - forum_modules/openidauth/consumer.py
Sor order was not working.
[osqa.git] / forum_modules / openidauth / consumer.py
index 1702390a754e38e4d05e3b6ebcaeebbad533a830..22e83d27dfafdb2d1647fcb610d9e7f0e7d4e614 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',
         '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',
     }
 
         'birthdate': 'http://axschema.org/birthDate',
     }
 
@@ -123,8 +123,9 @@ class OpenIdAbstractAuthConsumer(AuthenticationConsumer):
                     }
 
                 except Exception, e:
                     }
 
                 except Exception, e:
-                    import sys, traceback
-                    traceback.print_exc(file=sys.stdout)
+                    pass
+                    #import sys, traceback
+                    #traceback.print_exc(file=sys.stdout)
 
             return request.GET['openid.identity']
         elif openid_response.status == CANCEL:
 
             return request.GET['openid.identity']
         elif openid_response.status == CANCEL: