mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-26 23:57:33 -05: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
|
||||
================
|
||||
|
||||
3.6
|
||||
|
||||
Fixed:
|
||||
* fix SFTP upload (#2671)
|
||||
|
||||
3.5
|
||||
|
||||
Added:
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user