From 350c0f10c4834055cc5059bb705b6372d3854217 Mon Sep 17 00:00:00 2001 From: hanhh <18330117883@163.com> Date: Sat, 25 Sep 2021 00:15:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dql=20resettfa=E5=91=BD?= =?UTF-8?q?=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/update.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shell/update.sh b/shell/update.sh index 27db7f8d..490b7f9f 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -494,8 +494,7 @@ main() { ;; resettfa) echo -e "## 开始执行... $begin_time\n" >>$log_path - auth_value=$(cat $file_auth_user | jq '.twoFactorActivated =false' -c) - auth_value=$(cat $auth_value | jq '.twoFactorActived =false' -c) + auth_value=$(cat $file_auth_user | jq '.twoFactorActivated =false' | jq '.twoFactorActived =false' -c) echo -e "禁用两步验证成功 \n $auth_value" >>$log_path echo "$auth_value" >$file_auth_user ;;