feat: use secret_key config field instead of api_key (#2444)
Fixes #2426
This commit is contained in:
parent
74af2112a6
commit
d800c5e280
10 changed files with 31 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
general:
|
||||
public_url: http://localhost:8080
|
||||
api_key: some_secret_api_key
|
||||
secret_key: some_secret_key
|
||||
|
||||
database:
|
||||
host: postgres
|
||||
|
|
|
@ -7,6 +7,10 @@ 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
|
||||
secret_key:
|
||||
|
||||
# List of origins allowed to access resources on the server, the public url
|
||||
# origin is automatically included.
|
||||
|
|
|
@ -7,6 +7,10 @@ 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
|
||||
secret_key:
|
||||
|
||||
# List of origins allowed to access resources on the server, the public url
|
||||
# origin is automatically included.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue