From bbb32e867b1726b7f6914637d2d2dc72fd63032a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 4 Dec 2016 13:37:42 +0000 Subject: [PATCH] code lengths --- src/freedombone-config | 2 +- src/freedombone-utils-validation | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-config b/src/freedombone-config index c62320d5..dc2b2b16 100755 --- a/src/freedombone-config +++ b/src/freedombone-config @@ -758,7 +758,7 @@ function validate_freedns_code { dialog --title $"Invalid FreeDNS Code" --msgbox "$FREEDNS_MESSAGE" 10 70 VALID_CODE= fi - if [ ${#freedns_code} -lt 30 ]; then + if [ ${#freedns_code} -lt 25 ]; then dialog --title $"Invalid FreeDNS Code" --msgbox $'FreeDNS code is too short. Did you enter the entire code?' 6 70 VALID_CODE= fi diff --git a/src/freedombone-utils-validation b/src/freedombone-utils-validation index a13b1cf0..6afe5a39 100755 --- a/src/freedombone-utils-validation +++ b/src/freedombone-utils-validation @@ -53,7 +53,7 @@ function validate_freedns_code { dialog --title $"Invalid FreeDNS Code" --msgbox "$FREEDNS_MESSAGE" 10 70 VALID_CODE= fi - if [ ${#freedns_code} -lt 30 ]; then + if [ ${#freedns_code} -lt 25 ]; then dialog --title $"Invalid FreeDNS Code" --msgbox $'FreeDNS code is too short. Did you enter the entire code?' 6 70 VALID_CODE= fi