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:
parent
8afc09559b
commit
1f146a0e30
1 changed files with 1 additions and 1 deletions
|
@ -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));")
|
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.
|
# 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
|
then
|
||||||
default_private_links=false
|
default_private_links=false
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue