fnp
/
django-cas-provider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OK, why isn't that working?
[django-cas-provider.git]
/
cas_provider
/
views.py
diff --git
a/cas_provider/views.py
b/cas_provider/views.py
index
e896fba
..
715d0ce
100644
(file)
--- a/
cas_provider/views.py
+++ b/
cas_provider/views.py
@@
-337,8
+337,9
@@
def auth_success_response(user, pgt, proxies):
username.text = user.username
attrs = {}
username.text = user.username
attrs = {}
- for receiver, response in signals.cas_collect_custom_attributes.send(user):
+ for receiver, response in signals.cas_collect_custom_attributes.send(
sender=auth_success_response, user=
user):
if response:
if response:
+ print "Got custom attributes:", response
attrs.update(response)
if attrs:
attrs.update(response)
if attrs: