Skip to content

Conversation

@jparga
Copy link
Contributor

@jparga jparga commented Aug 5, 2025

This PR adds a new section to the py4web manual (chapter 16) that explains how to integrate a simple, client-side captcha solution using the Altcha library.

The new section includes:

Instructions on how to install the Altcha library.

Example controller code to generate and verify the captcha challenge.

Corresponding template code to display the Altcha widget.

This contribution provides a practical, ready-to-use example for developers who need to add a basic captcha to their py4web forms.

@mdipierro mdipierro merged commit 27f05d1 into web2py:master Aug 13, 2025
5 checks passed
@jparga
Copy link
Contributor Author

jparga commented Aug 14, 2025

I changed the method in the fixture on_request instead of on_success. It avoids crashes between sessions in db. Sorry for the delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants