Skip to content

Commit

Permalink
don't to_byte username and password, it's done for us by the wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Apr 8, 2023
1 parent c6f9ea1 commit ef92e83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/module_utils/foreman_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,8 +664,8 @@ def connect(self):

self.foremanapi = apypie.Api(
uri=self._foremanapi_server_url,
username=to_bytes(self._foremanapi_username),
password=to_bytes(self._foremanapi_password),
username=self._foremanapi_username,
password=self._foremanapi_password,
api_version=2,
verify_ssl=self._foremanapi_validate_certs,
session=RequestSession(),
Expand Down

0 comments on commit ef92e83

Please sign in to comment.