Add configuration option to hide official templates
Introduce a new environment variable and configuration option to allow users to hide official templates in the template gallery. This provides more flexibility for self-hosted instances of OpnForm.
This commit is contained in:
@@ -5,4 +5,5 @@ return [
|
||||
'moderator_emails' => explode(',', env('MODERATOR_EMAILS') ?? ''),
|
||||
'template_editor_emails' => explode(',', env('TEMPLATE_EDITOR_EMAILS') ?? ''),
|
||||
'extra_pro_users_emails' => explode(',', env('EXTRA_PRO_USERS_EMAILS') ?? ''),
|
||||
'show_official_templates' => env('SHOW_OFFICIAL_TEMPLATES', true),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user