1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
This commit is contained in:
ericgaspar 2020-09-17 19:49:12 +02:00
parent afa1479030
commit 9c06630c79
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 3 additions and 13 deletions

View file

@ -80,17 +80,7 @@
}, },
"choices" : ["de", "en", "es", "fr", "it", "nl", "pt"], "choices" : ["de", "en", "es", "fr", "it", "nl", "pt"],
"default" : "fr" "default" : "fr"
}, }
{
"name": "ssoenabled",
"type": "srting",
"ask": {
"en": "Enable SSO support (autologin)?",
"fr": "Activer le support SSO (connexin auto) ?"
},
"choices": ["Yes", "No"],
"default": "Yes"
}
] ]
} }
} }

View file

@ -26,7 +26,7 @@ admin=$YNH_APP_ARG_ADMIN
is_public=$YNH_APP_ARG_IS_PUBLIC is_public=$YNH_APP_ARG_IS_PUBLIC
password=$YNH_APP_ARG_PASSWORD password=$YNH_APP_ARG_PASSWORD
language=$YNH_APP_ARG_LANGUAGE language=$YNH_APP_ARG_LANGUAGE
ssoenabled=$YNH_APP_ARG_SSOENABLED #ssoenabled=$YNH_APP_ARG_SSOENABLED
timezone=$(cat /etc/timezone) timezone=$(cat /etc/timezone)
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME
@ -51,7 +51,7 @@ ynh_app_setting_set --app=$app --key=domain --value=$domain
ynh_app_setting_set --app=$app --key=path --value=$path_url ynh_app_setting_set --app=$app --key=path --value=$path_url
ynh_app_setting_set --app=$app --key=admin --value=$admin ynh_app_setting_set --app=$app --key=admin --value=$admin
ynh_app_setting_set --app=$app --key=is_public --value=$is_public ynh_app_setting_set --app=$app --key=is_public --value=$is_public
ynh_app_setting_set --app=$app --key=ssoenabled --value=$ssoenabled #ynh_app_setting_set --app=$app --key=ssoenabled --value=$ssoenabled
#================================================= #=================================================
# STANDARD MODIFICATIONS # STANDARD MODIFICATIONS