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

Update install

This commit is contained in:
Éric Gaspar 2023-03-18 20:09:09 +01:00
parent 8afc09559b
commit 1f146a0e30

View file

@ -116,7 +116,7 @@ hash=$(echo -n "${password}${admin}${salt}" | sha1sum | awk '{print $1}')
secret=$(php${YNH_PHP_VERSION} -r "echo str_shuffle(substr(hash_hmac('sha512', uniqid('${salt}'), '${admin}'), 10, 12));")
# Set default_private_links. By default, make them public if the app is public.
if [ $is_public -eq 1 ]
if ynh_permission_has_user --permission=main --user=visitors
then
default_private_links=false
else