annotate mod_register_web/templates/simplecaptcha.html @ 4299:8006da2cf44c

For deployments that have https://hg.prosody.im/trunk/file/tip/plugins/muc/register.lib.lua#l7 and use https://modules.prosody.im/mod_muc_http_auth.html users can still register to a MUC even if they are not allowed to join. That means they would receive RAI or RMN, for instance.
author Seve Ferrer <seve@delape.net>
date Tue, 15 Dec 2020 11:26:29 +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>