From: deyk Date: Mon, 16 Apr 2012 18:49:46 +0000 (-0700) Subject: Let's get that send() invocation right, shall we? X-Git-Tag: 22.4~25 X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/commitdiff_plain/8c6445fb4e57c6ca7f09c8d45b06abf30e775817 Let's get that send() invocation right, shall we? --- diff --git a/cas_provider/views.py b/cas_provider/views.py index e896fba..af36955 100644 --- a/cas_provider/views.py +++ b/cas_provider/views.py @@ -337,7 +337,7 @@ def auth_success_response(user, pgt, proxies): 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)