annotate mod_register_web/templates/simplecaptcha.html @ 5160:8474a3b80200

mod_firewall: Fix 'is_admin' internal dependency rule #1797 (thanks diane) Looks like the boolean logic was inverted here. Instead, for now, simply check if is_admin is there. It is deprecated in trunk and was briefly removed before being brought back with a 'deprecated' warning as part of the new roles and permissions work. Making this dependency conditioned on the existence of the underlying function should make it work until it actually goes away for real.
author Kim Alvefur <zash@zash.se>
date Fri, 27 Jan 2023 23:06:25 +0100
parents db85ff22ae97
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1228
db85ff22ae97 mod_register_web: Add a simple fallback captcha
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 <tr>
db85ff22ae97 mod_register_web: Add a simple fallback captcha
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2 <th>What is {x} {op} {y}?</th><td>
db85ff22ae97 mod_register_web: Add a simple fallback captcha
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 <input name="captcha_challenge" type="hidden" value="{challenge}">
db85ff22ae97 mod_register_web: Add a simple fallback captcha
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 <input name="captcha_reply" pattern="[0-9]+" required type="number">
db85ff22ae97 mod_register_web: Add a simple fallback captcha
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 </td></tr>