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:
parent
7a934ca52b
commit
0c72bd4317
3 changed files with 1 additions and 11 deletions
|
@ -10,7 +10,6 @@
|
|||
admin="john" (USER)
|
||||
is_public=1 (PUBLIC|public=1|private=0)
|
||||
language="fr"
|
||||
password="pass"
|
||||
dav_support=1 (DAV_SUPPORT|dav_support=1|dav_support=0)
|
||||
signup=0 (SIGNUP|signup=1|signup=0)
|
||||
two_factor=0 (TWO_FACTOR|two_factor=1|two_factor=0)
|
||||
|
|
|
@ -52,15 +52,6 @@
|
|||
},
|
||||
"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",
|
||||
|
|
|
@ -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_APP_ARG_PASSWORD
|
||||
password=$(ynh_string_random --length=10)
|
||||
dav_support=$YNH_APP_ARG_DAV_SUPPORT
|
||||
signup=$YNH_APP_ARG_SIGNUP
|
||||
two_factor=$YNH_APP_ARG_TWO_FACTOR
|
||||
|
|
Loading…
Add table
Reference in a new issue