From 236f7323f508e15155e92c34e1145c8ad29b27d7 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Wed, 7 Jun 2023 22:12:45 +0200 Subject: [PATCH] Import upstream auth plugin again --- gitadmin/gitadmin/auth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitadmin/gitadmin/auth.py b/gitadmin/gitadmin/auth.py index 7ebd2a1..0a07571 100644 --- a/gitadmin/gitadmin/auth.py +++ b/gitadmin/gitadmin/auth.py @@ -184,7 +184,7 @@ We apologize for the inconvenience. ) user.save() - auth_user_created_from_upstream.send(user) + auth_user_created_from_upstream.send(sender=auth_receive, user=user) # Ok, we have a proper user record. Now tell django that # we're authenticated so it persists it in the session. Before @@ -371,6 +371,6 @@ def user_import(uid): ) u.save() - auth_user_created_from_upstream.send(u) + auth_user_created_from_upstream.send(sender=user_import, user=u) return u -- 2.39.5