X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/blobdiff_plain/3b6a516384b03ed3b2bc71f09209d4274d3e6748..840be9bb10bd63d3d22d2d825339729b0b9f1eb6:/cas_provider/views.py diff --git a/cas_provider/views.py b/cas_provider/views.py index 6632722..9ceeca4 100644 --- a/cas_provider/views.py +++ b/cas_provider/views.py @@ -123,6 +123,9 @@ def login(request, template_name='cas/login.html', # 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)