Remove checkbox

main
Anthony 2025-03-22 01:46:30 +08:00
parent 599fe8e90f
commit b0bea6f2ee
1 changed files with 1 additions and 10 deletions

View File

@ -269,10 +269,6 @@ settings:
type: text
caption: Domain Name
required: true
- name: confirm
type: checkbox
caption: I confirm I want to remove this certificate
value: false
actions:
dynamic_wp_cli:
@ -588,16 +584,11 @@ actions:
type: info
message: "${response.out}"
remove_ssl_cert:
- if: ${settings.confirm} != "true"
return:
type: error
message: "Confirmation checkbox must be checked to proceed with certificate removal."
- cmd[cp]:
user: root
commands:
- bash /home/litespeed/mbmanager/ssl-manager/ssl_manager.sh --domain="${settings.domain}" --remove-cert=yes --confirm=yes
- if: ${response.exitcode} == 0
return:
type: success