fixed bug when in nameserver creation

This commit is contained in:
tracer 2024-04-17 13:52:44 +02:00
parent fd4175987b
commit 645f3d00fe
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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');