feat!: the general.secret_key configuration field is now required (#2841)

BREAKING CHANGE: The `general.secret_key` configuration field is now
required. Make sure to update your configuration file and add a secret
key.

Closes #2426
This commit is contained in:
Jonas L 2023-12-27 18:15:47 +01:00 committed by GitHub
parent 24ee3830c2
commit 0d2d1a2673
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 20 additions and 26 deletions

View file

@ -7,9 +7,8 @@ general:
# The internal API authentication key.
# > this field is REQUIRED
api_key:
# The Django API secret key. If not defined, the value of [general.api_key] will be
# used as fallback.
# > this field will be REQUIRED starting with LibreTime 4.0.0
# The Django API secret key.
# > this field is REQUIRED
secret_key:
# List of origins allowed to access resources on the server, the public url

View file

@ -7,9 +7,8 @@ general:
# The internal API authentication key.
# > this field is REQUIRED
api_key:
# The Django API secret key. If not defined, the value of [general.api_key] will be
# used as fallback.
# > this field will be REQUIRED starting with LibreTime 4.0.0
# The Django API secret key.
# > this field is REQUIRED
secret_key:
# List of origins allowed to access resources on the server, the public url

View file

@ -7,9 +7,8 @@ general:
# The internal API authentication key.
# > this field is REQUIRED
api_key: some_secret_api_key
# The Django API secret key. If not defined, the value of [general.api_key] will be
# used as fallback.
# > this field will be REQUIRED starting with LibreTime 4.0.0
# The Django API secret key.
# > this field is REQUIRED
secret_key:
# List of origins allowed to access resources on the server, the public url