From 90308066af9000bf72cc1167a8ebb977eb43fc6a Mon Sep 17 00:00:00 2001 From: adamscmRH Date: Wed, 25 Apr 2018 15:04:41 -0400 Subject: [PATCH] update radius backend for dr1.3.3 --- awx/sso/backends.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/sso/backends.py b/awx/sso/backends.py index 4b20ec165f..d4a2cc2280 100644 --- a/awx/sso/backends.py +++ b/awx/sso/backends.py @@ -182,13 +182,13 @@ class RADIUSBackend(BaseRADIUSBackend): Custom Radius backend to verify license status ''' - def authenticate(self, username, password): + def authenticate(self, request, username, password): if not django_settings.RADIUS_SERVER: return None if not feature_enabled('enterprise_auth'): logger.error("Unable to authenticate, license does not support RADIUS authentication") return None - return super(RADIUSBackend, self).authenticate(username, password) + return super(RADIUSBackend, self).authenticate(request, username, password) def get_user(self, user_id): if not django_settings.RADIUS_SERVER: