Stirling-PDF icon indicating copy to clipboard operation
Stirling-PDF copied to clipboard

[Bug]: Terms and conditions URL hard-coded in settings.yml

Open colfes opened this issue 3 months ago • 4 comments

Installation Method

None

The Problem

The settings.yml contains this line:

legal: Automatically Generated Settings (Do Not Edit Directly) termsAndConditions: https://www.stirlingpdf.com/terms-and-conditions # URL to the terms and conditions of your application (e.g. https://example.com/terms) Empty string to disable or filename to load from local file in static folder

When using through docker, this leads to the Terms and Conditions button being shown (and linking to stirlingpdfs' T&C), even though this should not be the case.

Even when setting LEGAL_TERMSANDCONDITONS: "" in the compose file, the link will not disappear.

Behaviour should be similar to privacyPolicy / Impressum etc, where there is '' in the settings.yml

Version of Stirling-PDF

latest

Last Working Version of Stirling-PDF

No response

Page Where the Problem Occurred

Start page

Docker Configuration

No response

Relevant Log Output

No response

Additional Information

No response

Browsers Affected

No response

No Duplicate of the Issue

  • [X] I have verified that there are no existing issues raised related to my problem.

colfes avatar Oct 27 '24 16:10 colfes