This could be a possible bug. When creating a webform with webform encrypt enabled and this is for all the fields that use encryption. In the hook dvg_ct_webform_form_webform_component_edit_form_alter the default value of encrypt is set to 1. But as supereditor you can disable this (which is weird?) and all the submissions are going from encrypted to unencrypted. My guess is that this should always be on and encrypt the field value.

Comments

ruudvanoijen created an issue. See original summary.

ruudvanoijen’s picture

The patch. This will add a validate hook and set the value always to 1.

ruudvanoijen’s picture

Assigned: ruudvanoijen » Unassigned
Status: Active » Needs review
joshahubbers’s picture

Status: Needs review » Reviewed & tested by the community

  • paulvandenburg committed 37db5e5 on 7.x-1.x
    Issue #2924924 by ruudvanoijen: dvg ct webform encrypt value can be...
paulvandenburg’s picture

Status: Reviewed & tested by the community » Fixed

We had already solved this issue for ourselves by not giving access to this component setting.
But it is good anyway to force enable the encryption.

paulvandenburg’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.