From 574e3ed6ef2afa1e6f97b83e71be5be49624e2fc Mon Sep 17 00:00:00 2001 From: Jeff Bradberry Date: Tue, 8 Mar 2022 09:59:26 -0500 Subject: [PATCH] Fix the signature of RADIUSBackend.get_django_user to match what django-radius is now expecting. --- awx/sso/backends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/sso/backends.py b/awx/sso/backends.py index 535cc9579c..e54a124560 100644 --- a/awx/sso/backends.py +++ b/awx/sso/backends.py @@ -199,7 +199,7 @@ class RADIUSBackend(BaseRADIUSBackend): if not user.has_usable_password(): return user - def get_django_user(self, username, password=None): + def get_django_user(self, username, password=None, groups=[], is_staff=False, is_superuser=False): return _get_or_set_enterprise_user(force_str(username), force_str(password), 'radius')