1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-29 20:55:32 +03:00

Removing forward feature needed for testing locally

This commit is contained in:
John Westcott IV 2020-08-28 15:27:54 -04:00
parent 9e29dd08fb
commit 2369bcb25c

View File

@ -553,7 +553,7 @@ class TowerAPIModule(TowerModule):
return self.create_if_needed(existing_item, new_item, endpoint, on_create=on_create, item_type=item_type, associations=associations)
def logout(self):
if self.authenticated and self.oauth_token_id:
if self.authenticated:
# Attempt to delete our current token from /api/v2/tokens/
# Post to the tokens endpoint with baisc auth to try and get a token
api_token_url = (