1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/teampass_ynh.git synced 2024-09-03 20:26:37 +02:00

Update install

This commit is contained in:
ericgaspar 2021-07-11 13:52:36 +02:00
parent fdcb5c6699
commit 6c790a281f

View file

@ -161,7 +161,7 @@ ynh_replace_string "__SKPATH__" "$path_sk_file" ../conf/settings.php
# CREATE A SALTKEY
#=================================================
saltkey=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[A-Za-z0-9]' | sed -n 's/\(.\{32\}\).*/\1/p')
saltkey=$(ynh_string_random --length=32)
ynh_replace_string "__SALTKEY__" "$saltkey" ../conf/sk.php
#=================================================