re-enable custom scripts while trialing (#383)
* feat: disable custom script for trial users * fix: logic error for trial users * disable trialing check for custom script --------- Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
@@ -36,7 +36,8 @@ class FormCleaner
|
||||
];
|
||||
|
||||
private array $formNonTrialingDefaults = [
|
||||
'custom_code' => null,
|
||||
// Custom code protection disabled for now
|
||||
// 'custom_code' => null,
|
||||
];
|
||||
|
||||
private array $fieldDefaults = [
|
||||
|
||||
@@ -190,4 +190,4 @@ it('can create form with custom scripts', function () {
|
||||
'title' => $form->title,
|
||||
'custom_code' => null
|
||||
]);
|
||||
});
|
||||
})->skip(true, 'Trialing custom script form cleaning disabled for now.');
|
||||
|
||||
Reference in New Issue
Block a user