fix bug
This commit is contained in:
parent
ab842b8551
commit
557e8a6fb9
@ -12,7 +12,7 @@ update_password() {
|
||||
local new_password=$(gen_password 16)
|
||||
|
||||
# 修改密码
|
||||
sed -i 's/你的密码/'"$new_password"'/g' "$config_dir/config.json"
|
||||
sed -i 's/你的密码/'"$new_password"'/g' $config_file
|
||||
|
||||
echo "设置密码成功"
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user