From db4ee605e012aea3c5bece37d79e6c2151d059e6 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Thu, 27 Apr 2023 23:28:39 +0200 Subject: [PATCH] Fix SFTP setting: init password upon install --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 9e2d1fc..a41ae79 100644 --- a/scripts/install +++ b/scripts/install @@ -9,8 +9,9 @@ source _common.sh source /usr/share/yunohost/helpers -# Initialize the with_sftp setting for the config panel +# Initialize the SFTP setting for the config panel ynh_app_setting_set --app=$app --key=with_sftp --value="false" +ynh_app_setting_set --app=$app --key=password --value=$(ynh_string_random) #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE