mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
修复ql resettfa命令
This commit is contained in:
parent
ca9d742359
commit
f1cc7641fb
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue
Block a user