From: Dominik Csapak <d.csapak@proxmox.com>
To: yew-devel@lists.proxmox.com
Subject: [PATCH yew-comp v2] fix #7959: acme: use correct validation-delay maximum
Date: Mon, 24 Aug 2026 09:53:20 +0200 [thread overview]
Message-ID: <20260824075440.892286-1-d.csapak@proxmox.com> (raw)
as this delay is in seconds, and the maximum in the backend is 48 hours,
use the same 48 hours limit on the frontend (like in the ExtJS UI).
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
changes from v1:
* fixed the u8 -> u32 type so it compiles...
src/acme/acme_plugins.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/acme/acme_plugins.rs b/src/acme/acme_plugins.rs
index 82e97e3..20fec52 100644
--- a/src/acme/acme_plugins.rs
+++ b/src/acme/acme_plugins.rs
@@ -410,9 +410,9 @@ impl ProxmoxAcmePluginsPanel {
let mut panel = panel
.with_field(
tr!("Validation Delay"),
- Number::<u8>::new()
+ Number::<u32>::new()
.name("validation-delay")
- .max(48)
+ .max(48 * 60 * 60)
.placeholder("30"),
)
.with_field(
--
2.47.3
reply other threads:[~2026-08-24 7:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260824075440.892286-1-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=yew-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox