diff --git a/manifest.json b/manifest.json index 410265c..f4d0424 100755 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Federated blogging application", "fr": "Une application de blogging fédérée." }, - "version": "0.2.0~ynh3", + "version": "0.2.0~ynh4", "url": "https://baptiste.gelez.xyz/", "license": "AGPL-3.0-only", "maintainer": [ diff --git a/scripts/install b/scripts/install index 63262ab..740ccc5 100755 --- a/scripts/install +++ b/scripts/install @@ -32,7 +32,7 @@ password=$YNH_APP_ARG_PASSWORD instance_name=$YNH_APP_ARG_NAME registration=$YNH_APP_ARG_REGISTRATION admin_email=$(ynh_user_get_info $admin 'mail') -secret_key=$(openssl rand -base64 32) +secret_key=$(ynh_string_random 32 | base64) app=$YNH_APP_INSTANCE_NAME