Problem/Motivation

The "Turnstile javascript resource URL" field on the Turnstile module settings field doesn't save changes.

Steps to reproduce

1. Go to admin page: /admin/config/people/captcha/turnstile
2. Change value for "Turnstile javascript resource URL" field to any value.
3. Click "Save configuration".

Expected result: The updated field value should be saved.
Actual result: The field resets to the previous value.

Proposed resolution

I will create and submit a patch shortly.

Comments

Gomez_in_the_South created an issue. See original summary.

gomez_in_the_south’s picture

Assigned: gomez_in_the_south » Unassigned
Status: Active » Needs review
StatusFileSize
new2 KB

I've attached a patch that adds the missing config->set command in the relevant form submit handler.

I also made some minor adjustments to the letter case of some field labels.

  • greatmatter committed 5759832 on 1.0.x
    Fix issue #3318522
    
    String changes (proper capitalization), and making...
greatmatter’s picture

Status: Needs review » Fixed

Thank you, @Gomez_in_the_South!

greatmatter’s picture

Status: Fixed » Closed (fixed)
gomez_in_the_south’s picture

Thanks @greatmatter for the quick turnaround time and the new version!

greatmatter’s picture

Thank you, @Gomez_in_the_South, for patching it so well!