mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
revert django-radius from 1.3.3 to 1.1.0
This commit is contained in:
parent
a8504d7bd7
commit
8cc77234fc
@ -182,13 +182,13 @@ class RADIUSBackend(BaseRADIUSBackend):
|
||||
Custom Radius backend to verify license status
|
||||
'''
|
||||
|
||||
def authenticate(self, request, username, password):
|
||||
def authenticate(self, 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(request, username, password)
|
||||
return super(RADIUSBackend, self).authenticate(username, password)
|
||||
|
||||
def get_user(self, user_id):
|
||||
if not django_settings.RADIUS_SERVER:
|
||||
|
||||
@ -19,7 +19,7 @@ django-jsonfield==1.0.1
|
||||
django-oauth-toolkit==1.1.2
|
||||
django-polymorphic==2.0.2
|
||||
django-pglocks==1.0.2
|
||||
django-radius==1.3.3
|
||||
django-radius==1.1.0
|
||||
django-solo==1.1.3
|
||||
django-split-settings==0.3.0
|
||||
django-taggit==0.22.2
|
||||
|
||||
@ -117,7 +117,7 @@ django-jsonfield==1.0.1
|
||||
django-oauth-toolkit==1.1.2
|
||||
django-pglocks==1.0.2
|
||||
django-polymorphic==2.0.2
|
||||
django-radius==1.3.3
|
||||
django-radius==1.1.0
|
||||
django-solo==1.1.3
|
||||
django-split-settings==0.3.0
|
||||
django-taggit==0.22.2
|
||||
@ -127,7 +127,6 @@ djangorestframework==3.7.7
|
||||
dogpile.cache==0.6.5 # via openstacksdk
|
||||
enum34==1.1.6 # via cryptography, msrest
|
||||
functools32==3.2.3.post2 # via jsonschema
|
||||
future==0.16.0 # via django-radius
|
||||
futures==3.2.0 # via azure-cosmosdb-table, azure-datalake-store, azure-storage-blob, azure-storage-file, openstacksdk, requests-futures, s3transfer
|
||||
hyperlink==18.0.0 # via twisted
|
||||
idna==2.6 # via cryptography, hyperlink, requests
|
||||
@ -183,7 +182,7 @@ pygerduty==0.37.0
|
||||
pyjwt==1.6.0 # via adal, social-auth-core, twilio
|
||||
pyopenssl==17.5.0
|
||||
pyparsing==2.2.0
|
||||
pyrad==2.1 # via django-radius
|
||||
pyrad==1.2 # via django-radius
|
||||
python-dateutil==2.7.2
|
||||
python-ldap==2.5.2 # via django-auth-ldap
|
||||
python-logstash==0.4.6
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user