on_cas_collect_histories = dispatch.Signal(providing_args=["for_email"])
-on_cas_login = dispatch.Signal(providing_args=["request", "kwargs"])
+on_cas_login = dispatch.Signal(providing_args=["request"])
errors.append('This account is disabled.')
else:
# Send the on_cas_login signal. If we get an HttpResponse, return that.
- for receiver, response in signals.on_cas_login(sender=login, request=request,
- kwargs=kwargs):
+ for receiver, response in signals.on_cas_login.send(sender=login, request=request, **kwargs):
if isinstance(response, HttpResponse):
return response