fixed bug when in nameserver creation
This commit is contained in:
parent
645f3d00fe
commit
43b8f19a7b
|
@ -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": "337",
|
"build_number": "338",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Micha Espey",
|
"name": "Micha Espey",
|
||||||
|
|
|
@ -1054,7 +1054,6 @@ class CLIController
|
||||||
$encryptionKey = $this->configController->getConfig(configKey: 'encryptionKey');
|
$encryptionKey = $this->configController->getConfig(configKey: 'encryptionKey');
|
||||||
$decryptedKey = $this->encryptionController->safeDecrypt(encrypted: $server->getApikey(), key: $encryptionKey);
|
$decryptedKey = $this->encryptionController->safeDecrypt(encrypted: $server->getApikey(), key: $encryptionKey);
|
||||||
echo 'server: ' . $server->getName() . PHP_EOL;
|
echo 'server: ' . $server->getName() . PHP_EOL;
|
||||||
echo 'decrypted key: ' . $decryptedKey . PHP_EOL;
|
|
||||||
|
|
||||||
$a = $server->getA() ?? '';
|
$a = $server->getA() ?? '';
|
||||||
if (!empty($a)) {
|
if (!empty($a)) {
|
||||||
|
|
Loading…
Reference in New Issue