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:
parent
fdcb5c6699
commit
6c790a281f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue