Fix the signature of RADIUSBackend.get_django_user

to match what django-radius is now expecting.
This commit is contained in:
Jeff Bradberry 2022-03-08 09:59:26 -05:00
parent 584514766d
commit 574e3ed6ef

View File

@ -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')