CAPTCHA provider for Administration UI
auth.captcha.provider
This dynamic configuration parameter selects the CAPTCHA that protects the Administration UI’s own pages from bots.
The Administration UI belongs to no domain, so the domains’ CAPTCHA extensions don’t apply to it. It has a CAPTCHA of its own, which can be:
None(the default): no CAPTCHA.Proof of work (built in): the self-hosted proof of work, which needs no keys. Its difficulty is set by Proof-of-work CAPTCHA difficulty.- Cloudflare Turnstile, hCaptcha, Google reCAPTCHA v2, or Google reCAPTCHA v3. These use the site key and the secret configured in the secrets, which must list Comentario’s own hostname. A provider can’t be selected without them, or when it’s disabled in the secrets.
Which pages require a CAPTCHA is set by Require a CAPTCHA for user registration, Require a CAPTCHA for password reset requests, and, for logging in to an account that has had a number of failed attempts, Failed login attempts before a CAPTCHA is required. All of them are on by default, so selecting a provider is all it takes. Login is protected even with no provider selected: it falls back to proof of work.
Choosing a provider also affects the accounts created in the Administration UI, which can sign in on any domain: until the Administration UI’s registration is protected, a bot can bypass a domain’s CAPTCHA by registering there.
