From 3bb240ea58ae798e0cd523d76c6d69d9b2f8077e Mon Sep 17 00:00:00 2001 From: Youssef Date: Mon, 10 Aug 2026 23:06:14 +0200 Subject: [PATCH] fix: passer le temps d'expiration du token de pre-inscription a 30 minutes --- .../astalange/web/controller/PublicInscriptionController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/as-talange-web/src/main/java/com/astalange/web/controller/PublicInscriptionController.java b/as-talange-web/src/main/java/com/astalange/web/controller/PublicInscriptionController.java index 298dd62..4aa1832 100644 --- a/as-talange-web/src/main/java/com/astalange/web/controller/PublicInscriptionController.java +++ b/as-talange-web/src/main/java/com/astalange/web/controller/PublicInscriptionController.java @@ -81,7 +81,7 @@ public class PublicInscriptionController { TokenPreInscription token = new TokenPreInscription(); token.setValeurUuid(UUID.randomUUID().toString()); - token.setDateExpiration(LocalDateTime.now().plusMinutes(15)); + token.setDateExpiration(LocalDateTime.now().plusMinutes(30)); tokenRepository.save(token); return "redirect:/inscription-public/formulaire?token=" + token.getValeurUuid();