添加通知api

This commit is contained in:
whyour
2021-09-17 18:06:14 +08:00
parent f2dac51a62
commit bb0ad6c325
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
;;