diff options
author | Magnus Hagander | 2023-06-07 20:18:38 +0000 |
---|---|---|
committer | Magnus Hagander | 2023-06-07 20:18:38 +0000 |
commit | 584302c520ec80560f9608973f4f6ade0f5f363e (patch) | |
tree | 19446d764f5dd144d4304077f7d258e8cbb37796 /postgresqleu/auth.py | |
parent | dc48bb9faedec3626feb00f7eb1b282f42251d18 (diff) |
Sync up to latest version of pgweb auth plugin (again)
Diffstat (limited to 'postgresqleu/auth.py')
-rw-r--r-- | postgresqleu/auth.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/postgresqleu/auth.py b/postgresqleu/auth.py index 8a595950..0a075715 100644 --- a/postgresqleu/auth.py +++ b/postgresqleu/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(user) + auth_user_created_from_upstream.send(sender=user_import, user=u) return u |