mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
security/acme-client: fix 2FA support in Synology deployhook, closes #3627
This commit is contained in:
@@ -15,6 +15,9 @@ Added:
|
||||
* add support for DNSExit
|
||||
* add World4You DNS API (#3722)
|
||||
|
||||
Fixed:
|
||||
* fix 2FA support in Synology deployhook (#3627)
|
||||
|
||||
Removed:
|
||||
* remove automation: Highwinds CDN (#3626)
|
||||
|
||||
|
||||
+6
@@ -219,6 +219,12 @@
|
||||
<type>text</type>
|
||||
<help>If Synology DSM has OTP enabled, then the device ID has to be provided so that no OTP is required when running the automation.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>action.acme_synology_dsm_devicename</id>
|
||||
<label>Device Name</label>
|
||||
<type>text</type>
|
||||
<help>If Synology DSM has OTP enabled, then the device name has to be provided so that no OTP is required when running the automation.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>action.acme_synology_dsm_create</id>
|
||||
<label>Create certificates</label>
|
||||
|
||||
+4
-1
@@ -48,7 +48,10 @@ class AcmeSynologyDsm extends Base implements LeAutomationInterface
|
||||
$this->acme_env['SYNO_Create'] = (string)$this->config->acme_synology_dsm_create;
|
||||
}
|
||||
if (!empty((string)$this->config->acme_synology_dsm_deviceid)) {
|
||||
$this->acme_env['SYNO_DID'] = (string)$this->config->acme_synology_dsm_deviceid;
|
||||
$this->acme_env['SYNO_Device_ID'] = (string)$this->config->acme_synology_dsm_deviceid;
|
||||
}
|
||||
if (!empty((string)$this->config->acme_synology_dsm_devicename)) {
|
||||
$this->acme_env['SYNO_Device_Name'] = (string)$this->config->acme_synology_dsm_devicename;
|
||||
}
|
||||
$this->acme_args[] = '--deploy-hook synology_dsm';
|
||||
return true;
|
||||
|
||||
@@ -1380,6 +1380,11 @@
|
||||
<mask>/^.{1,1024}$/u</mask>
|
||||
<ValidationMessage>Should be a string between 1 and 1024 characters.</ValidationMessage>
|
||||
</acme_synology_dsm_deviceid>
|
||||
<acme_synology_dsm_devicename type="TextField">
|
||||
<Required>N</Required>
|
||||
<mask>/^.{1,1024}$/u</mask>
|
||||
<ValidationMessage>Should be a string between 1 and 1024 characters.</ValidationMessage>
|
||||
</acme_synology_dsm_devicename>
|
||||
<acme_fritzbox_url type="TextField">
|
||||
<Required>N</Required>
|
||||
<mask>/^.{1,1024}$/u</mask>
|
||||
|
||||
Reference in New Issue
Block a user