This commit is contained in:
Kiolow 2024-06-07 13:08:37 +08:00
parent b887abc50a
commit a5083db693

View File

@ -30,7 +30,7 @@ new_password=$(gen_random_pass 16)
config_file="$script_dir/../config.json"
# 使用jq_util.sh中的modify_json_file函数修改config.json文件中的auth.password字段
modify_json_file "$config_file" '.auth.password' "$new_password"
modify_json_file "$config_file" 'auth.password' "$new_password"
echo "New password: $new_password"
echo "config.json file updated with new password."
echo "config.json file updated with new password."