Browse Source

code lengths

Bob Mottram 8 years ago
parent
commit
bbb32e867b
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      src/freedombone-config
  2. 1
    1
      src/freedombone-utils-validation

+ 1
- 1
src/freedombone-config View File

@@ -758,7 +758,7 @@ function validate_freedns_code {
758 758
         dialog --title $"Invalid FreeDNS Code" --msgbox "$FREEDNS_MESSAGE" 10 70
759 759
         VALID_CODE=
760 760
     fi
761
-    if [ ${#freedns_code} -lt 30 ]; then
761
+    if [ ${#freedns_code} -lt 25 ]; then
762 762
         dialog --title $"Invalid FreeDNS Code" --msgbox $'FreeDNS code is too short. Did you enter the entire code?' 6 70
763 763
         VALID_CODE=
764 764
     fi

+ 1
- 1
src/freedombone-utils-validation View File

@@ -53,7 +53,7 @@ function validate_freedns_code {
53 53
         dialog --title $"Invalid FreeDNS Code" --msgbox "$FREEDNS_MESSAGE" 10 70
54 54
         VALID_CODE=
55 55
     fi
56
-    if [ ${#freedns_code} -lt 30 ]; then
56
+    if [ ${#freedns_code} -lt 25 ]; then
57 57
         dialog --title $"Invalid FreeDNS Code" --msgbox $'FreeDNS code is too short. Did you enter the entire code?' 6 70
58 58
         VALID_CODE=
59 59
     fi