Set ALTCHA to auto-solve on page load

auto="onload" starts the proof-of-work in the background as soon as
the page loads. By the time a user fills out the form it's already
verified — no manual click required.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
chris 2026-06-13 19:21:10 -04:00
parent 08ac545567
commit f59d19f3c2
2 changed files with 2 additions and 0 deletions

View File

@ -161,6 +161,7 @@
<div class="field">
<altcha-widget
challenge="/api/altcha"
auto="onload"
style="--altcha-color-border: #dbdbdb; --altcha-border-radius: 4px; --altcha-color-text: #363636;"
></altcha-widget>
<p class="help is-danger" id="err-altcha" style="display:none;">Please complete the verification.</p>

View File

@ -221,6 +221,7 @@
<div class="field">
<altcha-widget
challenge="/api/altcha"
auto="onload"
style="--altcha-color-border: #dbdbdb; --altcha-border-radius: 4px; --altcha-color-text: #363636;"
></altcha-widget>
<p class="help is-danger" id="err-altcha" style="display:none;">Please complete the verification.</p>