summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2023-06-07 20:12:45 +0000
committerMagnus Hagander2023-06-07 20:12:45 +0000
commit236f7323f508e15155e92c34e1145c8ad29b27d7 (patch)
tree0e109c1a54241194dcb3c4e5f84c0b3ff83fe62f
parent00706b24c067f017f0fdbe3f49d21a4c89263e6b (diff)
Import upstream auth plugin again
-rw-r--r--gitadmin/gitadmin/auth.py4
1 files 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