Allow custom conditionals for skipping Honeypot validation

Created on 28 January 2019, almost 6 years ago
Updated 16 August 2024, 5 months ago

In some cases it could be useful to have a hook which can determine if validation should be executed.
In my case validation should be skipped in case requests come from an automated system.

In order to do so I've implemented a hook which skips validation based on return arguments.

I can imagine other uses for this hook such as allowing a single user or user group to bypass validation.

✨ Feature request
Status

Needs review

Version

2.2

Component

Code

Created by

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024