From 584302c520ec80560f9608973f4f6ade0f5f363e Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Wed, 7 Jun 2023 22:18:38 +0200 Subject: Sync up to latest version of pgweb auth plugin (again) --- postgresqleu/auth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'postgresqleu/auth.py') 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 -- cgit v1.2.3