From ae396b0e631ae896fc84162a70fc5e0d92915cfe Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 25 Jul 2017 21:42:08 +0100 Subject: [PATCH] code index --- src/freedombone-app-kanboard | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-app-kanboard b/src/freedombone-app-kanboard index 5816f960..137ac752 100755 --- a/src/freedombone-app-kanboard +++ b/src/freedombone-app-kanboard @@ -89,7 +89,7 @@ function install_interactive_kanboard { --title $"KanBoard Configuration" \ --form $"\nPlease enter your KanBoard details. The background image URL can be left blank.\n\nIMPORTANT: This should be a domain name which is supported by Let's Encrypt:" 16 65 2 \ $"Domain:" 1 1 "$(grep 'KANBOARD_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 1 25 33 40 \ - $"Code:" 4 1 "$(grep 'KANBOARD_CODE' temp.cfg | awk -F '=' '{print $2}')" 4 25 33 255 \ + $"Code:" 2 1 "$(grep 'KANBOARD_CODE' temp.cfg | awk -F '=' '{print $2}')" 2 25 33 255 \ 2> $data else dialog --backtitle $"Freedombone Configuration" \ @@ -115,7 +115,7 @@ function install_interactive_kanboard { dialog --title $"Domain name validation" --msgbox "$TEST_DOMAIN_NAME" 15 50 else if [[ $DDNS_PROVIDER == "default@freedns.afraid.org" ]]; then - KANBOARD_CODE=$(cat $data | sed -n 4p) + KANBOARD_CODE=$(cat $data | sed -n 2p) validate_freedns_code "$KANBOARD_CODE" if [ ! $VALID_CODE ]; then KANBOARD_DOMAIN_NAME=