mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Fix the signature of RADIUSBackend.get_django_user
to match what django-radius is now expecting.
This commit is contained in:
parent
584514766d
commit
574e3ed6ef
@ -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')
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user