mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
security/acme-client: fix SFTP upload (#2671)
This commit is contained in:
@@ -8,6 +8,11 @@ WWW: https://github.com/acmesh-official/acme.sh
|
|||||||
Plugin Changelog
|
Plugin Changelog
|
||||||
================
|
================
|
||||||
|
|
||||||
|
3.6
|
||||||
|
|
||||||
|
Fixed:
|
||||||
|
* fix SFTP upload (#2671)
|
||||||
|
|
||||||
3.5
|
3.5
|
||||||
|
|
||||||
Added:
|
Added:
|
||||||
|
|||||||
@@ -408,7 +408,7 @@ function getOptionsById($automation_id, $silent = false)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (is_object($action = getActionById($automation_id))) {
|
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 [
|
return [
|
||||||
"host" => trim((string)$action->sftp_host),
|
"host" => trim((string)$action->sftp_host),
|
||||||
"host-key" => trim((string)$action->sftp_host_key),
|
"host-key" => trim((string)$action->sftp_host_key),
|
||||||
|
|||||||
Reference in New Issue
Block a user