From: deyk Date: Tue, 19 Jun 2012 19:40:29 +0000 (-0700) Subject: Fixed naming of `identifier` attribute tags. X-Git-Tag: 22.4~15 X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/commitdiff_plain/8431ab83a1943bbb54e93f732303de20df701d75 Fixed naming of `identifier` attribute tags. --- diff --git a/cas_provider/views.py b/cas_provider/views.py index 155189c..3883ed0 100644 --- a/cas_provider/views.py +++ b/cas_provider/views.py @@ -355,7 +355,8 @@ def auth_success_response(user, pgt, proxies): for i in rr] if identifiers: - attrs['identifiers'] = identifiers + # Singular `identifier`, as that is the name of the element tag(s). + attrs['identifier'] = identifiers if attrs: formatter = get_callable(settings.CAS_CUSTOM_ATTRIBUTES_FORMATER)