From 424ad66262d0e4ad167ccabdfd36c1694949eaba Mon Sep 17 00:00:00 2001 From: Endial Fang Date: Mon, 21 Aug 2023 17:21:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E6=9C=89=E5=85=B3ALL?= =?UTF-8?q?OW=5FANONYMOUS=E7=9A=84=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- customer/usr/local/bin/common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/customer/usr/local/bin/common.sh b/customer/usr/local/bin/common.sh index e699552..6970aff 100644 --- a/customer/usr/local/bin/common.sh +++ b/customer/usr/local/bin/common.sh @@ -168,10 +168,10 @@ app_verify_minimum_env() { } # 检测认证设置。如果不允许匿名登录,检测登录用户名及密码是否设置 -# if is_boolean_yes "$ALLOW_ANONYMOUS_LOGIN"; then -# LOG_W "You have set the environment variable ALLOW_ANONYMOUS_LOGIN=${ALLOW_ANONYMOUS_LOGIN}. For safety reasons, do not use this flag in a production environment." +# if is_boolean_yes "$ALLOW_ANONYMOUS"; then +# LOG_W "You have set the environment variable ALLOW_ANONYMOUS=${ALLOW_ANONYMOUS}. For safety reasons, do not use this flag in a production environment." # elif ! is_boolean_yes "$ZOO_ENABLE_AUTH"; then -# print_validation_error "The ZOO_ENABLE_AUTH environment variable does not configure authentication. Set the environment variable ALLOW_ANONYMOUS_LOGIN=yes to allow unauthenticated users to connect to ZooKeeper." +# print_validation_error "The ZOO_ENABLE_AUTH environment variable does not configure authentication. Set the environment variable ALLOW_ANONYMOUS=yes to allow unauthenticated users to connect to ZooKeeper." # fi # TODO: 其他参数检测