diff --git a/manifest.json b/manifest.json index 5cc62d6..c7efdbe 100644 --- a/manifest.json +++ b/manifest.json @@ -52,6 +52,15 @@ }, "example": "johndoe" }, + { + "name": "password", + "type": "password", + "ask": { + "en": "Set the administrator password", + "fr": "Définissez le mot de passe administrateur" + }, + "example": "Choose a password" + }, { "name": "is_public", "type": "boolean", diff --git a/scripts/install b/scripts/install index 8d7c6a9..2f7ef65 100755 --- a/scripts/install +++ b/scripts/install @@ -30,7 +30,7 @@ is_public=$YNH_APP_ARG_IS_PUBLIC language=$YNH_APP_ARG_LANGUAGE random_key=$(ynh_string_random --length=32) email=$(ynh_user_get_info $admin 'mail') -password=$(ynh_string_random --length=8) +password=$YNH_APP_ARG_PASSWORD dav_support=$YNH_APP_ARG_DAV_SUPPORT signup=$YNH_APP_ARG_SIGNUP two_factor=$YNH_APP_ARG_TWO_FACTOR