Let's get that send() invocation right, shall we?
authordeyk <deyk@crossway.org>
Mon, 16 Apr 2012 18:49:46 +0000 (11:49 -0700)
committerdeyk <deyk@crossway.org>
Mon, 16 Apr 2012 18:49:46 +0000 (11:49 -0700)
cas_provider/views.py

index e896fba..af36955 100644 (file)
@@ -337,7 +337,7 @@ 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:
             attrs.update(response)
 
         if response:
             attrs.update(response)