diff --git a/conf/config.json.example b/conf/config.json.example index 78f5ddc..1b1df57 100644 --- a/conf/config.json.example +++ b/conf/config.json.example @@ -3,7 +3,6 @@ "protocolUseSSL": true, "domain": "__DOMAIN__", "port": "__PORT__", - "sessionSecret": "__SESSION__", "loglevel": "info", "useCDN": false, "allowGravatar": false, diff --git a/scripts/install b/scripts/install index 364b5c7..8988319 100644 --- a/scripts/install +++ b/scripts/install @@ -26,7 +26,6 @@ ynh_abort_if_errors domain=$YNH_APP_ARG_DOMAIN path_url="/" is_public=$YNH_APP_ARG_IS_PUBLIC -session=$(ynh_string_random --length=30) app=$YNH_APP_INSTANCE_NAME @@ -152,7 +151,6 @@ ynh_replace_string --match_string="__DB_USER__" --replace_string="$db_user" --t ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="../conf/config.json.example" ynh_replace_string --match_string="__DB_PASS__" --replace_string="$db_pwd" --target_file="../conf/config.json.example" ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="../conf/config.json.example" -ynh_replace_string --match_string="__SESSION__" --replace_string="$session" --target_file="../conf/config.json.example" cp ../conf/config.json.example "$final_path/config.json" diff --git a/scripts/upgrade b/scripts/upgrade index 1506054..6910d66 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -21,7 +21,6 @@ path_url=$(ynh_app_setting_get --app=$app --key=path) is_public=$(ynh_app_setting_get --app=$app --key=is_public) final_path=$(ynh_app_setting_get --app=$app --key=final_path) port=$(ynh_app_setting_get --app=$app --key=port) -session=$(ynh_app_setting_get --app=$app --key=session) db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_user=$db_name @@ -147,7 +146,6 @@ ynh_replace_string --match_string="__DB_USER__" --replace_string="$db_user" --ta ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="../conf/config.json.example" ynh_replace_string --match_string="__DB_PASS__" --replace_string="$db_pwd" --target_file="../conf/config.json.example" ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="../conf/config.json.example" -ynh_replace_string --match_string="__SESSION__" --replace_string="$session" --target_file="../conf/config.json.example" cp ../conf/config.json.example "$final_path/config.json"