fnp
/
django-cas-provider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6cc2732
)
Fixed naming of `identifier` attribute tags.
author
deyk
<deyk@crossway.org>
Tue, 19 Jun 2012 19:40:29 +0000
(12:40 -0700)
committer
deyk
<deyk@crossway.org>
Tue, 19 Jun 2012 19:40:29 +0000
(12:40 -0700)
cas_provider/views.py
patch
|
blob
|
history
diff --git
a/cas_provider/views.py
b/cas_provider/views.py
index
155189c
..
3883ed0
100644
(file)
--- 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:
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)
if attrs:
formatter = get_callable(settings.CAS_CUSTOM_ATTRIBUTES_FORMATER)