mirror of
https://github.com/ansible/awx.git
synced 2026-03-01 08:48:46 -03:30
Fix the signature of RADIUSBackend.get_django_user
to match what django-radius is now expecting.
This commit is contained in:
@@ -199,7 +199,7 @@ class RADIUSBackend(BaseRADIUSBackend):
|
|||||||
if not user.has_usable_password():
|
if not user.has_usable_password():
|
||||||
return user
|
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')
|
return _get_or_set_enterprise_user(force_str(username), force_str(password), 'radius')
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user