security/acme-client: fix SFTP upload (#2671)

This commit is contained in:
Frank Wall
2021-11-29 22:32:59 +01:00
parent 892f140409
commit 57ada90e89
2 changed files with 6 additions and 1 deletions

View File

@@ -8,6 +8,11 @@ WWW: https://github.com/acmesh-official/acme.sh
Plugin Changelog
================
3.6
Fixed:
* fix SFTP upload (#2671)
3.5
Added:

View File

@@ -408,7 +408,7 @@ function getOptionsById($automation_id, $silent = false)
}
if (is_object($action = getActionById($automation_id))) {
if ($action->enabled && "upload_sftp" === (string)$action->type) {
if ($action->enabled && "configd_upload_sftp" === (string)$action->type) {
return [
"host" => trim((string)$action->sftp_host),
"host-key" => trim((string)$action->sftp_host_key),