1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monica_ynh.git synced 2024-09-03 19:46:23 +02:00

Removed password option while install

This commit is contained in:
anmol26s 2021-03-06 02:15:36 +05:30
parent 7a934ca52b
commit 0c72bd4317
3 changed files with 1 additions and 11 deletions

View file

@ -10,7 +10,6 @@
admin="john" (USER) admin="john" (USER)
is_public=1 (PUBLIC|public=1|private=0) is_public=1 (PUBLIC|public=1|private=0)
language="fr" language="fr"
password="pass"
dav_support=1 (DAV_SUPPORT|dav_support=1|dav_support=0) dav_support=1 (DAV_SUPPORT|dav_support=1|dav_support=0)
signup=0 (SIGNUP|signup=1|signup=0) signup=0 (SIGNUP|signup=1|signup=0)
two_factor=0 (TWO_FACTOR|two_factor=1|two_factor=0) two_factor=0 (TWO_FACTOR|two_factor=1|two_factor=0)

View file

@ -52,15 +52,6 @@
}, },
"example": "johndoe" "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", "name": "is_public",
"type": "boolean", "type": "boolean",

View file

@ -30,7 +30,7 @@ is_public=$YNH_APP_ARG_IS_PUBLIC
language=$YNH_APP_ARG_LANGUAGE language=$YNH_APP_ARG_LANGUAGE
random_key=$(ynh_string_random --length=32) random_key=$(ynh_string_random --length=32)
email=$(ynh_user_get_info $admin 'mail') email=$(ynh_user_get_info $admin 'mail')
password=$YNH_APP_ARG_PASSWORD password=$(ynh_string_random --length=10)
dav_support=$YNH_APP_ARG_DAV_SUPPORT dav_support=$YNH_APP_ARG_DAV_SUPPORT
signup=$YNH_APP_ARG_SIGNUP signup=$YNH_APP_ARG_SIGNUP
two_factor=$YNH_APP_ARG_TWO_FACTOR two_factor=$YNH_APP_ARG_TWO_FACTOR