[Web] Fix DKIM import
parent
d383c0ab9b
commit
2dfcfd16d0
|
@ -197,7 +197,7 @@ function dkim($_action, $_data = null, $privkey = false) {
|
|||
return false;
|
||||
}
|
||||
try {
|
||||
dkim('delete', $domain);
|
||||
dkim('delete', (array)$domain);
|
||||
$redis->hSet('DKIM_PUB_KEYS', $domain, $pem_public_key);
|
||||
$redis->hSet('DKIM_SELECTORS', $domain, $dkim_selector);
|
||||
$redis->hSet('DKIM_PRIV_KEYS', $dkim_selector . '.' . $domain, $private_key_normalized);
|
||||
|
|
Loading…
Reference in New Issue