X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/e07404e9252efcb7e4c86091d54c461d774a7d81..771d73b1d54c1f31a8ceccec81c948283c32f090:/forum_modules/openidauth/consumer.py diff --git a/forum_modules/openidauth/consumer.py b/forum_modules/openidauth/consumer.py index 7ff4815..22e83d2 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', } @@ -107,9 +107,9 @@ class OpenIdAbstractAuthConsumer(AuthenticationConsumer): for n, s in axargs.items() if s in ax_schema2data_type ]) - available_data = dict([ - (t, axargs["value.%s.1" % s]) for t, s in available_types.items() - ]) + #available_data = dict([ + # (t, axargs["value.%s.1" % s]) for t, s in available_types.items() + #]) #print available_data @@ -123,8 +123,9 @@ class OpenIdAbstractAuthConsumer(AuthenticationConsumer): } 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: