diff --git a/share/config_domain.toml b/share/config_domain.toml index 14bb72a67..84201b845 100644 --- a/share/config_domain.toml +++ b/share/config_domain.toml @@ -71,6 +71,7 @@ i18n = "domain_config" [cert.status.cert_validity] type = "number" readonly = true + visible = "false" # Automatically filled by DomainConfigPanel [cert.cert] @@ -89,6 +90,7 @@ i18n = "domain_config" [cert.cert.acme_eligible_explain] type = "alert" + style = "warning" visible = "acme_eligible == false" # FIXME: improve messaging ... ask = "Uhoh, domain isnt ready for ACME challenge according to the diagnosis" diff --git a/src/domain.py b/src/domain.py index 45a516f7d..50a6451bf 100644 --- a/src/domain.py +++ b/src/domain.py @@ -544,7 +544,7 @@ def domain_action_run( from yunohost.certificate import certificate_renew as action_func args = dict(urllib.parse.parse_qsl(args or "", keep_blank_values=True)) - no_checks = bool(args["cert_no_checks"]) + no_checks = args["cert_no_checks"] in ("y", "yes", "on", "1") action_func([domain], force=True, no_checks=no_checks)