From 2d21fcf6f03a4396af1bfea8e5fbfce2db725aa4 Mon Sep 17 00:00:00 2001 From: Awmusic12635 Date: Sat, 9 Jul 2022 20:53:04 -0500 Subject: [PATCH] Remove providing_args from signals to make worth worith django >=4 --- useraudit/signals.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/useraudit/signals.py b/useraudit/signals.py index f3857b3..b355675 100644 --- a/useraudit/signals.py +++ b/useraudit/signals.py @@ -1,6 +1,6 @@ from django.dispatch import Signal -password_will_expire_warning = Signal(providing_args=["user", "days_left"]) -password_has_expired = Signal(providing_args=["user"]) -account_has_expired = Signal(providing_args=["user"]) -login_failure_limit_reached = Signal(providing_args=["user"]) +password_will_expire_warning = Signal() +password_has_expired = Signal() +account_has_expired = Signal() +login_failure_limit_reached = Signal()