diff options
author | Charpentier Johan <jcharpentier@bearstech.com> | 2011-04-19 14:22:14 +0200 |
---|---|---|
committer | Charpentier Johan <jcharpentier@bearstech.com> | 2011-04-19 14:22:14 +0200 |
commit | e9d2b7ae0104925dd4ab3fb28232abb355804a18 (patch) | |
tree | f96431ab8e7b4bc793385ba006494708b5c1c744 | |
parent | e70b35f856b6d709ff0439f93debf404fbcf69ce (diff) | |
download | askbot-e9d2b7ae0104925dd4ab3fb28232abb355804a18.tar.gz askbot-e9d2b7ae0104925dd4ab3fb28232abb355804a18.tar.bz2 askbot-e9d2b7ae0104925dd4ab3fb28232abb355804a18.zip |
The sreg requested is "nickname" not username
-rw-r--r-- | askbot/deps/django_authopenid/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/deps/django_authopenid/views.py b/askbot/deps/django_authopenid/views.py index 411f18ef..2ec423c7 100644 --- a/askbot/deps/django_authopenid/views.py +++ b/askbot/deps/django_authopenid/views.py @@ -618,7 +618,7 @@ def signin_success(request, identity_url, openid_response): provider_name = util.get_provider_name(openid_url) request.session['email'] = openid_data.sreg.get('email', '') - request.session['username'] = openid_data.sreg.get('username', '') + request.session['username'] = openid_data.sreg.get('nickname', '') return finalize_generic_signin( request = request, |