feat: use secret_key config field instead of api_key (#2444)

Fixes #2426
This commit is contained in:
Jonas L 2023-03-22 10:14:11 +01:00 committed by GitHub
parent 74af2112a6
commit d800c5e280
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 31 additions and 1 deletions

View file

@ -452,6 +452,8 @@ if $is_first_install; then
fi
set_config "$(generate_random_password)" general api_key
set_config "$(generate_random_password)" general secret_key
if [[ -n "$LIBRETIME_TIMEZONE" ]]; then
set_config "$LIBRETIME_TIMEZONE" general timezone
fi