main.js: refactor captcha parameters to be managed in JS

This commit is contained in:
Zankaria 2024-08-04 01:16:51 +02:00
parent 584fac7caa
commit 1b3b8cb9b6
6 changed files with 29 additions and 17 deletions

View file

@ -117,7 +117,7 @@
{{ antibot.html() }}
</th>
<td>
<div class="captcha-container" data-sitekey="{{ config.turnstile_public }}" data-action="{{ form_action_type }}"></div>
<div id="captcha-container"></div>
{{ antibot.html() }}
</td>
</tr>