mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
security/acme-client: fix EasyDNS variable assignment (#4068)
* fix EasyDNS variable assignment Changes an undeclared constant to a quoted string. Also fixes some (very minor) capitalization.
This commit is contained in:
+1
-1
@@ -1471,7 +1471,7 @@
|
||||
</field>
|
||||
<field>
|
||||
<id>validation.dns_easydns_apikey</id>
|
||||
<label>Api Key</label>
|
||||
<label>API Key</label>
|
||||
<type>password</type>
|
||||
</field>
|
||||
<field>
|
||||
|
||||
+3
-2
@@ -2,6 +2,7 @@
|
||||
|
||||
/*
|
||||
* Copyright (C) 2023 mleinart
|
||||
* Copyright (C) 2024 txr13
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -39,7 +40,7 @@ class DnsEasydns extends Base implements LeValidationInterface
|
||||
{
|
||||
public function prepare()
|
||||
{
|
||||
$this->acme_env[EASYDNS_Key] = (string)$this->config->dns_easydns_apikey;
|
||||
$this->acme_env[EASYDNS_Token] = (string)$this->config->dns_easydns_apitoken;
|
||||
$this->acme_env['EASYDNS_Key'] = (string)$this->config->dns_easydns_apikey;
|
||||
$this->acme_env['EASYDNS_Token'] = (string)$this->config->dns_easydns_apitoken;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user