From 610315b8b6fd82e878d910e034304e1439461d60 Mon Sep 17 00:00:00 2001
From: Florian Schaal <florian@schaal-24.de>
Date: Thu, 22 Jan 2015 07:43:01 +0100
Subject: [PATCH] increase size for txt-records for the admin to change
 txt-records for dkim

---
 interface/web/dns/form/dns_txt.tform.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/interface/web/dns/form/dns_txt.tform.php b/interface/web/dns/form/dns_txt.tform.php
index a18fe14ec0..70e0fc5f0d 100644
--- a/interface/web/dns/form/dns_txt.tform.php
+++ b/interface/web/dns/form/dns_txt.tform.php
@@ -174,5 +174,6 @@ 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';
+	$form["tabs"]['dns']['fields']['data']['maxlength'] = 512;
 }
 ?>
-- 
GitLab