From 463588bb31ef8c5c956242b537d0080e97c12f85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sat, 30 Dec 2023 13:18:23 +0200 Subject: [PATCH] Disallow using local as username --- init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.sh b/init.sh index 1b735d4..367a4b9 100755 --- a/init.sh +++ b/init.sh @@ -83,7 +83,7 @@ if [[ $VAULT_STATUS -eq 200 ]]; then echo "$VAULT_DOMAIN - Login" echo "Method: LDAP" - if [[ -z $USER || $USER == "root" ]]; then + if [[ -z $USER || $USER == "root" || $USER == "local" ]]; then echo -n "Username: " read USERNAME else