Skip to content

feat: add captcha validation to career portal applications#785

Open
anonymoususer72041 wants to merge 5 commits into
opencats:masterfrom
anonymoususer72041:feature/careers-portal-captcha
Open

feat: add captcha validation to career portal applications#785
anonymoususer72041 wants to merge 5 commits into
opencats:masterfrom
anonymoususer72041:feature/careers-portal-captcha

Conversation

@anonymoususer72041
Copy link
Copy Markdown
Contributor

Summary

This PR adds captcha support to the career portal application flow. It introduces the gregwar/captcha dependency, serves captcha images through the career portal module, renders captcha fields in career portal templates and validates submitted captcha phrases before accepting career portal applications.

The default career portal template is updated to include a required captcha field for new installations and updated templates. The rendering logic supports both <input-captcha> and <input-captcha req>, while the required variant is used to trigger server-side validation.

Motivation

Public career portal application forms can be targeted by automated spam submissions. Adding captcha validation provides a lightweight protection mechanism for the default application form without changing the existing workflow for reviewing submitted candidates.

The implementation keeps the feature template-driven, so installations can control whether captcha validation is required through the career portal template content. This keeps the change close to the existing OpenCATS customization model while improving the default protection for public application forms.

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.

1 participant