diff --git a/rt2zammad.py b/rt2zammad.py index facb0cf..f63510a 100755 --- a/rt2zammad.py +++ b/rt2zammad.py @@ -27,7 +27,9 @@ class Tag(Resource): TEMPLATE = """{ "zammad_host": "", -"zammad_token": "", +"zammad_user": "", +"zammad_password": "", +"zammad_secure": true, "rt_url": "", "rt_user": "", "rt_pass": "" @@ -55,7 +57,9 @@ with open("rt2zammad.json") as handle: def get_zammad(**kwargs): return ZammadAPI( host=config["zammad_host"], - http_token=config["zammad_token"], + username=config["zammad_user"], + password=config["zammad_password"], + is_secure=config["zammad_secure"], **kwargs )