fix(altcha): update attribute from challengeurl to challenge in Altcha component and home template

This commit is contained in:
hamed
2026-07-10 12:06:03 +03:30
parent 3eee6c3886
commit 2cfc516e2c
2 changed files with 9 additions and 9 deletions
+2 -1
View File
@@ -559,7 +559,8 @@
{% if altcha_enabled %}
<!-- ALTCHA captcha — proof-of-work در پس‌زمینه (بدون تعامل کاربر) -->
<altcha-widget id="regAltcha" challengeurl="/api/v1/altcha/challenge" auto="onload" language="fa" style="display:block;margin-top:16px"></altcha-widget>
{# widget v3: attribute «challenge» (نه challengeurl قدیمی) #}
<altcha-widget id="regAltcha" challenge="/api/v1/altcha/challenge" auto="onload" language="fa" style="display:block;margin-top:16px"></altcha-widget>
{% endif %}
<!-- Error / Success -->