Updating to remove auth_type since its not longer required

This commit is contained in:
John Westcott IV 2020-08-19 14:27:02 -04:00
parent 2c8c1ff595
commit b93319e359

View File

@ -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)