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:
parent
4c893a256a
commit
d3bd33b6e7
1 changed files with 2 additions and 1 deletions
|
@ -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_.:,')
|
||||
|
|
Loading…
Reference in a new issue