1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flohmarkt_ynh.git synced 2024-09-03 18:36:30 +02:00

fix jwtsecret

This commit is contained in:
Chris Vogel 2024-04-23 14:11:55 +02:00
parent 4c893a256a
commit d3bd33b6e7

View file

@ -80,7 +80,8 @@ python3 -m venv --without-pip "$install_dir/venv"
)
# JwtSecret
jwtsecret=$(ynh_string_random --length=344 --filter='a-zA-Z0-9/+')
# workaround for https://github.com/YunoHost/issues/issues/2379
jwtsecret=$(ynh_string_random -l 200 -f 'a-zA-Z0-9/+'; ynh_string_random -l 142 -f 'a-zA-Z0-9/+'; echo -n '==')
ynh_app_setting_set --app=$app --key=jwtsecret --value="$jwtsecret"
password_couchdb_flohmarkt=$(ynh_string_random --length=31 --filter='A-Za-z0-9_.:,')