Commit 6b199e23 authored by Florian Schaal's avatar Florian Schaal
Browse files

allow the admin to change txt-records for dkim, dmarc and spf directly

parent 91a3943c
...@@ -170,6 +170,9 @@ $form["tabs"]['dns'] = array ( ...@@ -170,6 +170,9 @@ $form["tabs"]['dns'] = array (
) )
); );
if($_SESSION["s"]["user"]["typ"] == 'admin') {
unset($form["tabs"]['dns']['fields']['data']['validators']);
$form["tabs"]['dns']['fields']['data']['validators'][0]['type'] = 'NOTEMPTY';
$form["tabs"]['dns']['fields']['data']['validators'][0]['errmsg'] = 'data_error_empty';
}
?> ?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment