From 71a022f34b49b3e0788e143a4154627465f96d37 Mon Sep 17 00:00:00 2001 From: Limezy Date: Wed, 21 Feb 2024 12:43:10 +0700 Subject: [PATCH] Test --- config_panel.toml | 5 +++++ scripts/install | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/config_panel.toml b/config_panel.toml index 5f25655..cc4db13 100644 --- a/config_panel.toml +++ b/config_panel.toml @@ -8,12 +8,17 @@ name = "Moncycle.app configuration" ask.fr = "Permettre la création de nouveaux comptes" type = "boolean" default = "true" + yes = "true" + no = "false" + help = "Don't disable account creation before creating one for yourself !" bind = "CREATION_COMPTE:__INSTALL_DIR__/config.php" [main.comptes.connexion_compte] ask.en = "Enable account connexion" ask.fr = "Permettre la connexion aux comptes" type = "boolean" default = "true" + yes = "true" + no = "false" bind = "CONNEXION_COMPTE:__INSTALL_DIR__/config.php" [main.export] name = "export" diff --git a/scripts/install b/scripts/install index 99c0c1d..5e5bac7 100755 --- a/scripts/install +++ b/scripts/install @@ -9,8 +9,8 @@ source _common.sh source /usr/share/yunohost/helpers -creation_compte=1 -connexion_compte=1 +creation_compte="true" +connexion_compte="true" separateur_csv=";" #=================================================