Needs work
Project:
Webform References
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Aug 2016 at 09:31 UTC
Updated:
5 Aug 2016 at 10:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
john cook commentedWe decided against removing the checking as this could lead to passing in random UIDs.
Instead we created a new hook
hook_webform_references_user_reference_name_validation_alter(&$name)which could then be implemented in a custom module to change the value from the form into the correct username. This can then be passed through the existing validation procedure.Comment #3
john cook commented