mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
Updating to remove auth_type since its not longer required
This commit is contained in:
parent
2c8c1ff595
commit
b93319e359
@ -32,7 +32,7 @@ class TowerAWXKitModule(TowerModule):
|
||||
def authenticate(self):
|
||||
try:
|
||||
if self.oauth_token:
|
||||
self.connection.login(None, None, token=self.oauth_token, auth_type='Bearer')
|
||||
self.connection.login(None, None, token=self.oauth_token)
|
||||
self.authenticated = True
|
||||
elif self.username:
|
||||
self.connection.login(username=self.username, password=self.password)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user