Mercurial > prosody-modules
view mod_register_web/templates/simplecaptcha.html @ 5222:578a72982bb2
mod_http_oauth2: Separate extracting credentials from requests and verifying
The token endpoint also uses Basic auth, but the password would be the
client_secret, so we need to verify against that instead of using
test_password(). Splitting this up here avoids code duplication.
Possibly this new function could go into util.http...
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 07 Mar 2023 15:18:41 +0000 |
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>