X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/8e91963c85103b7b47eb6e6d39656bc938c55e0e..22236fb67da2f27ceb35ad138f4d534a4fd08251:/forum_modules/openidauth/consumer.py diff --git a/forum_modules/openidauth/consumer.py b/forum_modules/openidauth/consumer.py index 9b5d6e7..6ed5b2b 100644 --- a/forum_modules/openidauth/consumer.py +++ b/forum_modules/openidauth/consumer.py @@ -137,7 +137,8 @@ class OpenIdAbstractAuthConsumer(AuthenticationConsumer): for t, s in available_types.items(): if not t in consumer_data: - consumer_data[t] = axargs["value.%s.1" % s] + if axargs.get("value.%s.1" % s, None): + consumer_data[t] = axargs["value.%s.1" % s] request.session['auth_consumer_data'] = consumer_data