From c1825cfe7018ad1ef086f2643f189ae588c96a14 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Fri, 12 May 2023 17:03:43 -0600 Subject: [PATCH] remove password from manifest and install --- conf/config.toml | 4 ++-- manifest.toml | 3 --- scripts/install | 12 ------------ 3 files changed, 2 insertions(+), 17 deletions(-) diff --git a/conf/config.toml b/conf/config.toml index 566e417..5ca5112 100644 --- a/conf/config.toml +++ b/conf/config.toml @@ -9,8 +9,8 @@ address = "127.0.0.1:__PORT__" # be replaced with a better multi-user, role-based authentication system. # IMPORTANT: Leave both values empty to disable authentication on admin # only where an external authentication is already setup. -admin_username = "__ADMIN__" -admin_password = "__PASSWORD__" +admin_username = "" +admin_password = "" # Database. [db] diff --git a/manifest.toml b/manifest.toml index 7270a71..5ffe108 100644 --- a/manifest.toml +++ b/manifest.toml @@ -38,9 +38,6 @@ ram.runtime = "50M" [install.admin] type = "user" - [install.password] - type = "password" - [resources] [resources.sources] diff --git a/scripts/install b/scripts/install index c45a44b..8194146 100755 --- a/scripts/install +++ b/scripts/install @@ -10,18 +10,6 @@ source _common.sh source ynh_install_go source /usr/share/yunohost/helpers -#================================================= -# RETRIEVE ARGUMENTS FROM THE MANIFEST -#================================================= - -password=$YNH_APP_ARG_PASSWORD - -#================================================= -# STORE SETTINGS FROM MANIFEST -#================================================= - -ynh_app_setting_set --app=$app --key=password --value="$password" - #================================================= # INSTALL DEPENDENCIES #=================================================