From 8019c14a18349e716449c29aba3d64e927ca0d7f Mon Sep 17 00:00:00 2001 From: Krishnan Shankar Date: Wed, 27 Mar 2024 22:37:23 -0400 Subject: [PATCH] Fix OAuth by reverting a change from 4144ad3b0c1dd9c238e42fc5606bc25b8f29d20e --- tin/apps/users/signals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tin/apps/users/signals.py b/tin/apps/users/signals.py index 955b50e8..5134684b 100644 --- a/tin/apps/users/signals.py +++ b/tin/apps/users/signals.py @@ -4,7 +4,7 @@ from .models import User -def enroll(_sender, user, _request, **_): +def enroll(sender, user, request, **kwargs): # pylint: disable=unused-argument try: import_user_object = StudentImportUser.objects.get_or_create(user=user.username)[0] except StudentImportUser.DoesNotExist: