1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/listmonk_ynh.git synced 2024-09-03 19:36:15 +02:00

remove password from manifest and install

This commit is contained in:
Navan Chauhan 2023-05-12 17:03:43 -06:00 committed by GitHub
parent 52cdccb3ed
commit c1825cfe70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 17 deletions

View file

@ -9,8 +9,8 @@ address = "127.0.0.1:__PORT__"
# be replaced with a better multi-user, role-based authentication system. # be replaced with a better multi-user, role-based authentication system.
# IMPORTANT: Leave both values empty to disable authentication on admin # IMPORTANT: Leave both values empty to disable authentication on admin
# only where an external authentication is already setup. # only where an external authentication is already setup.
admin_username = "__ADMIN__" admin_username = ""
admin_password = "__PASSWORD__" admin_password = ""
# Database. # Database.
[db] [db]

View file

@ -38,9 +38,6 @@ ram.runtime = "50M"
[install.admin] [install.admin]
type = "user" type = "user"
[install.password]
type = "password"
[resources] [resources]
[resources.sources] [resources.sources]

View file

@ -10,18 +10,6 @@ source _common.sh
source ynh_install_go source ynh_install_go
source /usr/share/yunohost/helpers 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 # INSTALL DEPENDENCIES
#================================================= #=================================================