diff --git a/config_panel.toml b/config_panel.toml index 9d2c82a..559c717 100644 --- a/config_panel.toml +++ b/config_panel.toml @@ -13,7 +13,7 @@ name = "Mediawiki configuration" yes = true no = false help = "Set to 'true' to allow account creation." - bind = "create_account:__INSTALL_DIR__/LocalSettings.php" + bind = "createaccount:__INSTALL_DIR__/LocalSettings.php" [main.php_fpm_config] name = "PHP-FPM configuration" diff --git a/scripts/upgrade b/scripts/upgrade index f96a91b..70f828d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -35,7 +35,7 @@ if [ -z "${fpm_usage:-}" ]; then fi # If create_account doesn't exist, create it -if [ -z "$create_account" ]; then +if [ -z "${create_account:-}" ]; then create_account=false ynh_app_setting_set --app=$app --key=create_account --value=$create_account fi