Mercurial > prosody-modules
view mod_register_web/templates/simplecaptcha.html @ 5276:67777cb7353d
mod_http_oauth2: Pedantic optimization
Checking the length of the string seems like 30% more expensive than
comparing it with the empty string (by reference, probably).
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 26 Mar 2023 14:37:42 +0200 |
parents | db85ff22ae97 |
children |
line wrap: on
line source
<tr> <th>What is {x} {op} {y}?</th><td> <input name="captcha_challenge" type="hidden" value="{challenge}"> <input name="captcha_reply" pattern="[0-9]+" required type="number"> </td></tr>