diff --git a/bearer.ignore b/bearer.ignore index 59b94723..8df72a3c 100644 --- a/bearer.ignore +++ b/bearer.ignore @@ -4,10 +4,5 @@ "comment": "Ignoring this finding for now", "false_positive": false, "ignored_at": "2024-11-06T20:12:15Z" - }, - "2314bd71cca49a48fe84485b966be0b6_1": { - "author": "Jill Klang", - "false_positive": false, - "ignored_at": "2024-11-06T20:13:18Z" } } \ No newline at end of file diff --git a/packages/consent/lib/consent/dsl.rb b/packages/consent/lib/consent/dsl.rb index 52783450..d8a6e379 100644 --- a/packages/consent/lib/consent/dsl.rb +++ b/packages/consent/lib/consent/dsl.rb @@ -18,15 +18,13 @@ def with_defaults(new_defaults, &block) def eval_view(key, label, collection_conditions) view key, label do |user| eval(collection_conditions) - # made to fail - eval(collection_conditions) - eval(collection_conditions) end end # rubocop:enable Lint/UnusedBlockArgument, Security/Eval def view(key, label, instance = nil, collection = nil, &block) collection ||= block + eval(collection) @subject.views[key] = View.new(key, label, instance, collection) end