Revert "Switch to token auth for Zammad"
This reverts commit 7fef65b66b
.
This commit is contained in:
parent
7fef65b66b
commit
af7d142da1
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue