Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2020-09-26 00:03:12 +0300
committerGitHub <noreply@github.com>2020-09-26 00:03:12 +0300
commit276c2b7bc5db66b1bccc60e734fe228973170079 (patch)
tree804d5645c583a1579142306f7a320ec857178c72 /apps/bitwarden_registration.sh
parenteb34d26fde37372fba253f71ad964bfd4873f823 (diff)
create a guide-variable for whiptail-menu's (#1478)
Co-authored-by: Daniel Hansson <github@hanssonit.se>
Diffstat (limited to 'apps/bitwarden_registration.sh')
-rw-r--r--apps/bitwarden_registration.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/bitwarden_registration.sh b/apps/bitwarden_registration.sh
index 88363efc..a895bb8f 100644
--- a/apps/bitwarden_registration.sh
+++ b/apps/bitwarden_registration.sh
@@ -38,7 +38,9 @@ else
fi
# Yes or No?
-choice=$(whiptail --title "$TITLE" --menu "Do you want to disable Bitwarden User Registration?\nYou can view this menu later by running 'sudo bash $SCRIPTS/menu.sh'" "$WT_HEIGHT" "$WT_WIDTH" 4 \
+choice=$(whiptail --title "$TITLE" --menu \
+"Do you want to disable Bitwarden User Registration?
+$MENU_GUIDE\n\n$RUN_LATER_GUIDE" "$WT_HEIGHT" "$WT_WIDTH" 4 \
"Yes" "(Disable public user registration)" \
"No" "(Enable public user registration)" 3>&1 1>&2 2>&3)