From ab2cd43c159e79145b699e3c0bdda48c45ff776c Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 9 Apr 2023 23:50:49 -0400 Subject: [PATCH] Update vaultwarden.sh tweak --- ct/vaultwarden.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/vaultwarden.sh b/ct/vaultwarden.sh index c5d06839..74fb9f94 100644 --- a/ct/vaultwarden.sh +++ b/ct/vaultwarden.sh @@ -121,7 +121,7 @@ function update_script() { exit fi if [ "$UPD" == "3" ]; then - if NEWTOKEN=$(whiptail --passwordbox "Set your ADMIN_TOKEN" 10 58 3>&1 1>&2 2>&3); then + if NEWTOKEN=$(whiptail --passwordbox "Set the ADMIN_TOKEN" 10 58 3>&1 1>&2 2>&3); then if [[ -z "$NEWTOKEN" ]]; then exit; fi if ! command -v argon2 >/dev/null 2>&1; then apt-get install -y argon2 &>/dev/null; fi TOKEN=$(echo -n ${NEWTOKEN} | argon2 "$(openssl rand -base64 32)" -t 2 -m 16 -p 4 -l 64 -e)