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