添加通知api

This commit is contained in:
whyour
2021-09-17 18:06:14 +08:00
parent 3ddaf41e27
commit aed08b0f59
4 changed files with 44 additions and 14 deletions
+1 -1
View File
@@ -494,7 +494,7 @@ main() {
;;
resettfa)
echo -e "## 开始执行... $begin_time\n" >>$log_path
auth_value=$(cat $file_auth_user | jq '.twoFactorActived =false' -c)
auth_value=$(cat $file_auth_user | jq '.twoFactorActivated =false' -c)
echo -e "禁用两步验证成功 \n $auth_value" >>$log_path
echo "$auth_value" >$file_auth_user
;;