feat(security): configuration dynamique du Captcha Cloudflare Turnstile
This commit is contained in:
@@ -20,15 +20,18 @@
|
||||
<img src="/images/logo.png" alt="AS Talange" class="h-32 w-auto mx-auto mb-6 object-contain drop-shadow-sm"
|
||||
onerror="this.style.display='none'">
|
||||
<h1 class="text-2xl font-bold text-gray-900 mb-2">Inscription au club</h1>
|
||||
<p th:unless="${inscriptionsFermees}" class="text-gray-600 mb-8">Veuillez valider le captcha pour accéder au formulaire sécurisé.</p>
|
||||
<p th:unless="${inscriptionsFermees}" class="text-gray-600 mb-8">Veuillez valider le captcha pour accéder au
|
||||
formulaire sécurisé.</p>
|
||||
|
||||
<div th:if="${error != null and (inscriptionsFermees == null or !inscriptionsFermees)}"
|
||||
class="bg-red-50 text-red-600 p-3 rounded-lg mb-6 text-sm" th:text="${error}"></div>
|
||||
|
||||
<div th:if="${error != null and (inscriptionsFermees == null or !inscriptionsFermees)}" class="bg-red-50 text-red-600 p-3 rounded-lg mb-6 text-sm" th:text="${error}"></div>
|
||||
|
||||
<div th:if="${inscriptionsFermees}" class="bg-red-50 text-red-600 p-4 rounded-lg mb-6 text-sm font-medium">
|
||||
Les inscriptions ne sont pas ouvertes pour le moment, veuillez contacter un responsable du club.
|
||||
</div>
|
||||
|
||||
<form th:unless="${inscriptionsFermees}" th:action="@{/inscription-public/demarrer}" method="post" class="flex flex-col items-center">
|
||||
<form th:unless="${inscriptionsFermees}" th:action="@{/inscription-public/demarrer}" method="post"
|
||||
class="flex flex-col items-center">
|
||||
<!-- Remplacer par la vraie clé de site Cloudflare Turnstile -->
|
||||
<div class="cf-turnstile mb-6" data-sitekey="1x00000000000000000000AA"></div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user