An error occurs during logging in to a web service (after updating Captcha to 8.x-1.13)

Created on 1 August 2023, 11 months ago
Updated 9 August 2023, 11 months ago

Problem

After updating Captcha module to version 8.x-1.13, I started getting the following error when I was trying to log in to my web site.
The website encountered an unexpected error. Please try again later.

Steps to reproduce

Having the following set of components installed try to log in to a web service
Drupal core 9.5.10
CAPTCHA 8.x-1.13
CAPTCHA Riddler 2.0.4

Proposed resolution

It looks like drupal/web/modules/contrib/riddler/riddler.module may need some fix, as CAPTCHA_DEFAULT_VALIDATION_CASE_SENSITIVE and CAPTCHA_DEFAULT_VALIDATION_CASE_INSENSITIVE constants do not seem to exist any more. I modified this module to get my web service working (and attached diff showing the changes), however, it may not be a proper solution.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

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

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.69.0 2024