public inbox for yew-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH yew-comp v2] fix #7959: acme: use correct validation-delay maximum
@ 2026-08-24  7:53 Dominik Csapak
  0 siblings, 0 replies; only message in thread
From: Dominik Csapak @ 2026-08-24  7:53 UTC (permalink / raw)
  To: yew-devel

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





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-24  7:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-24  7:53 [PATCH yew-comp v2] fix #7959: acme: use correct validation-delay maximum Dominik Csapak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal