From b966e1a5a9821cd453a1efc8893d7cb30f1b26e3 Mon Sep 17 00:00:00 2001 From: mouyong Date: Sun, 19 Mar 2023 23:18:15 +0800 Subject: [PATCH] feat: allow empty http password --- allow-http-nopassword.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allow-http-nopassword.sh b/allow-http-nopassword.sh index b0066c4..7dcee0a 100644 --- a/allow-http-nopassword.sh +++ b/allow-http-nopassword.sh @@ -13,4 +13,4 @@ fi echo "current sed command is: $cmd" echo "allow http nopasword" -$cmd -i 's/"http_auth_password": "6.67428e-11"/"http_auth_password": ""/' config.json +$cmd -i "s/\"http_auth_password\": \".*\"/\"http_auth_password\": \"\"/" config.json