diff options
author | Magnus Hagander | 2023-06-07 20:12:45 +0000 |
---|---|---|
committer | Magnus Hagander | 2023-06-07 20:12:45 +0000 |
commit | 236f7323f508e15155e92c34e1145c8ad29b27d7 (patch) | |
tree | 0e109c1a54241194dcb3c4e5f84c0b3ff83fe62f | |
parent | 00706b24c067f017f0fdbe3f49d21a4c89263e6b (diff) |
Import upstream auth plugin again
-rw-r--r-- | gitadmin/gitadmin/auth.py | 4 |
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 |