Recaptcha not showing up when making use of PrivateTempStore

Created on 21 November 2019, over 5 years ago
Updated 9 December 2023, over 1 year ago

When making use of PrivateTempStore, the reCaptcha does not show up, e.g. when used in a webform.

If I execute the code below in my custom module, e.g. to save something for my user:
\Drupal::service('tempstore.private')->get('mymodule')->set('mymodule_mykey', 'myvalue');

Then the captcha does not show up in my form anymore. Working with cookies is a workaround but I think it was worth to mention this issue here.

🐛 Bug report
Status

Closed: outdated

Version

2.0

Component

reCAPTCHA V2

Created by

🇧🇪Belgium thijsv

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