fixed bug when in nameserver creation
This commit is contained in:
parent
fd4175987b
commit
645f3d00fe
|
@ -2,7 +2,7 @@
|
||||||
"name": "24unix/bindapi",
|
"name": "24unix/bindapi",
|
||||||
"description": "manage Bind9 DNS server via REST API",
|
"description": "manage Bind9 DNS server via REST API",
|
||||||
"version": "2023.0.1",
|
"version": "2023.0.1",
|
||||||
"build_number": "336",
|
"build_number": "337",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Micha Espey",
|
"name": "Micha Espey",
|
||||||
|
|
|
@ -34,7 +34,7 @@ class Nameserver
|
||||||
private string $apikeyPrefix = '')
|
private string $apikeyPrefix = '')
|
||||||
{
|
{
|
||||||
if ($this->passphrase) {
|
if ($this->passphrase) {
|
||||||
$configController = new ConfigController();
|
$configController = new ConfigController(quiet: false);
|
||||||
$encryptionController = new EncryptionController();
|
$encryptionController = new EncryptionController();
|
||||||
|
|
||||||
$encryptionKey = $configController->getConfig(configKey: 'encryptionKey');
|
$encryptionKey = $configController->getConfig(configKey: 'encryptionKey');
|
||||||
|
|
Loading…
Reference in New Issue