Ignore honeypot spam field until we have a proper honepot filter
This commit is contained in:
parent
e64fa197aa
commit
117c8876ec
@ -11,6 +11,8 @@ class Submission < ApplicationRecord
|
|||||||
def process_data(submitted_data)
|
def process_data(submitted_data)
|
||||||
processed_data = {}
|
processed_data = {}
|
||||||
submitted_data.each do |key, value|
|
submitted_data.each do |key, value|
|
||||||
|
next if key == 'tinyforms_honey' # TODO: implement honeypot spam filter
|
||||||
|
|
||||||
processed_data[key] = submission_value_for(value)
|
processed_data[key] = submission_value_for(value)
|
||||||
end
|
end
|
||||||
update_attribute(:data, processed_data)
|
update_attribute(:data, processed_data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user