]> git.proxmox.com Git - pmg-api.git/commit
fix #2013 spamreport: remove ticket if authmode is ldap
authorStoiko Ivanov <s.ivanov@proxmox.com>
Mon, 17 May 2021 14:02:57 +0000 (16:02 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 28 Jun 2021 13:28:57 +0000 (15:28 +0200)
commitea1b766595a6e8dbb9ee42caed7311760021cf9e
treee052ef0c60e81cee019fe7f7d7bd0e9602b7868d
parentfd1d03381782bcb7d41de5bb87b80320869c737b
fix #2013 spamreport: remove ticket if authmode is ldap

Currently the 'authmode' setting for the spamquarantine is not used
anywhere. According to documentation setting it to 'ldap' should allow
access to the quarantine only with ldap credentials.

This patch addresses the issue by not generating a quarantineticket,
and adapting all links accordingly if the authmode is 'ldap'.

tested by changing the authmode and running
`pmgqm send -receiver <email-address> -debug 1`

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Reviewed-By: Dominik Csapak <d.csapak@proxmox.com>
Tested-By: Dominik Csapak <d.csapak@proxmox.com>
src/PMG/CLI/pmgqm.pm