{#
# Cloudflare Turnstile - Universal Login Form Protection
#
# This template event fires on ALL pages (in overall_footer.html).
# We inject JavaScript that detects and protects ANY login form on the page,
# regardless of theme or form location (header dropdown, footer, sidebar, etc.).
#
# Detection criteria (phpBB standard patterns):
# - Form action contains "mode=login"
# - Form has
# - Form has
#
# Skip logic:
# - Forms already containing .cf-turnstile (already protected)
# - Forms with id="login" (standard login page - handled by CAPTCHA_TEMPLATE)
#}
{% if S_TURNSTILE_UNIVERSAL_LOGIN %}
{% endif %}