on_cas_login = dispatch.Signal(providing_args=["request"])
-on_cas_login_success = dispatch.Signal(providing_args=["user"])
+on_cas_login_success = dispatch.Signal(providing_args=["user", "service"])
cas_collect_custom_attributes = dispatch.Signal(providing_args=['user'])
# Try and pull the service off the session
service = request.session.pop('service', service)
+ signals.on_cas_login_success.send(sender=login, request=request,
+ service=service, **kwargs)
+
if service is None:
# Normal internal success redirection.
logging.debug('Redirecting to %s', success_redirect)