Add form_id to the logged messages

Created on 2 August 2023, over 1 year ago
Updated 16 January 2024, 10 months ago

Problem/Motivation

Currently when the validation fails the message reads: "reCAPTCHA validation failed, reCAPTCHA score too low: 30 (desired score was 90)"
With this message I'm not sure which form failed.

Proposed resolution

Update the SimpleReCaptchaFormManager.php to include the form_id so the message becomes:
reCAPTCHA validation failed for {form_id}, reCAPTCHA score too low: 30 (desired score was 90)

Remaining tasks

Add patch / pull request with change,

✨ Feature request
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States oheller

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024