mirror of
https://github.com/ansible/awx.git
synced 2026-02-20 04:30:05 -03:30
Updating to remove auth_type since its not longer required
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user