X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/blobdiff_plain/5f7036c4efc9088433ed9cf10aec91aac958ea69..fdbd98e576514c2a58183132369dccfb5781804a:/cas_provider/signals.py diff --git a/cas_provider/signals.py b/cas_provider/signals.py index 799fb4e..3c469db 100644 --- a/cas_provider/signals.py +++ b/cas_provider/signals.py @@ -1,6 +1,8 @@ # -*- coding: utf-8 -*- """cas_provider.signals -- signal definitions for cas_provider """ +from __future__ import unicode_literals + from django import dispatch @@ -8,6 +10,6 @@ on_cas_collect_histories = dispatch.Signal(providing_args=["for_email"]) 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'])