Skip to content

Commit

Permalink
fix pass all provided arguments to token auth-backend
Browse files Browse the repository at this point in the history
  • Loading branch information
domrim committed Dec 18, 2022
1 parent 2e18504 commit ddb48ff
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion proxmoxer/backends/https.py
Expand Up @@ -287,7 +287,14 @@ def __init__(
if "token" not in SERVICES[service]["supported_https_auths"]:
config_failure("{} does not support API Token authentication", service)

self.auth = ProxmoxHTTPApiTokenAuth(user, token_name, token_value, service=service)
self.auth = ProxmoxHTTPApiTokenAuth(
user,
token_name,
token_value,
verify_ssl=verify_ssl,
timeout=timeout,
service=service
)
elif password is not None:
if "password" not in SERVICES[service]["supported_https_auths"]:
config_failure("{} does not support password authentication", service)
Expand Down

0 comments on commit ddb48ff

Please sign in to comment.