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:
604bc4a
)
Beter speling.
author
deyk
<deyk@crossway.org>
Mon, 16 Apr 2012 18:41:31 +0000
(11:41 -0700)
committer
deyk
<deyk@crossway.org>
Mon, 16 Apr 2012 18:41:31 +0000
(11:41 -0700)
cas_provider/views.py
patch
|
blob
|
history
diff --git
a/cas_provider/views.py
b/cas_provider/views.py
index
bd9797c
..
3f2607f
100644
(file)
--- a/
cas_provider/views.py
+++ b/
cas_provider/views.py
@@
-340,8
+340,8
@@
def auth_success_response(user, pgt, proxies):
callback = get_callable(settings.CAS_CUSTOM_ATTRIBUTES_CALLBACK)
attrs = callback(user)
if len(attrs) > 0:
callback = get_callable(settings.CAS_CUSTOM_ATTRIBUTES_CALLBACK)
attrs = callback(user)
if len(attrs) > 0:
- formater = get_callable(settings.CAS_CUSTOM_ATTRIBUTES_FORMATER)
- formater(auth_success, attrs)
+ format
t
er = get_callable(settings.CAS_CUSTOM_ATTRIBUTES_FORMATER)
+ format
t
er(auth_success, attrs)
if pgt:
pgtElement = etree.SubElement(auth_success, CAS + 'proxyGrantingTicket')
if pgt:
pgtElement = etree.SubElement(auth_success, CAS + 'proxyGrantingTicket')