mirror of
https://github.com/YunoHost-Apps/bookstack_ynh.git
synced 2024-09-03 18:16:02 +02:00
Standard (#119)
* fix * Update manifest.toml * Update manifest.toml * Update POST_INSTALL.md * Update POST_INSTALL_fr.md
This commit is contained in:
parent
474a69b19a
commit
3290278891
5 changed files with 9 additions and 21 deletions
|
@ -2,17 +2,6 @@ version = "1.0"
|
|||
|
||||
[main]
|
||||
name = "BookStack configuration"
|
||||
services = ["__APP__"]
|
||||
|
||||
[main.auth_config]
|
||||
name = "Authentication configuration"
|
||||
|
||||
[main.auth_config.auth_method]
|
||||
ask = "General authentication"
|
||||
choices = ["standard", "ldap"]
|
||||
default = "ldap"
|
||||
help = "Select an authentication method to connect to BookStack."
|
||||
bind = "AUTH_METHOD:/var/www/__APP__/.env"
|
||||
|
||||
[main.php_fpm_config]
|
||||
name = "PHP-FPM configuration"
|
||||
|
|
|
@ -1,5 +1,2 @@
|
|||
BookStack uses LDAP authentication by default.
|
||||
|
||||
You can switch to standard authentication in the webadmin -> bookstack -> config panel setting.
|
||||
|
||||
For the first time Login with standard authentication, use the default credentials `admin@admin.com` and `password`. You should change these details immediately after logging in for the first time.
|
||||
If you choose Standard as authentication, for the first time Login with standard authentication, use the default credentials `admin@admin.com` and `password`. You should change these details immediately after logging in for the first time.
|
||||
|
|
|
@ -1,5 +1,2 @@
|
|||
BookStack utilise l'authentification LDAP par défaut.
|
||||
|
||||
Vous pouvez passer à l'authentification standard dans le webadmin -> Bookstack -> paramètre du panneau de configuration.
|
||||
|
||||
Pour la première connexion avec une authentification standard, utilisez les informations d'identification par défaut `admin@admin.com` et `password`. Vous devez modifier ces informations immédiatement après vous être connecté pour la première fois.
|
||||
Si vous avez choisi la méthode standard d'authentification, pour la première connexion avec une authentification standard, utilisez les informations d'identification par défaut `admin@admin.com` et `password`. Vous devez modifier ces informations immédiatement après vous être connecté pour la première fois.
|
||||
|
|
|
@ -38,6 +38,13 @@ ram.runtime = "50M"
|
|||
[install.admin]
|
||||
type = "user"
|
||||
|
||||
[install.auth_method]
|
||||
ask.en = "Choose an authentication method"
|
||||
ask.fr = "Choisissez une méthode d'authentification"
|
||||
type = "string"
|
||||
choices = ["standard", "ldap"]
|
||||
default = "ldap"
|
||||
|
||||
[install.language]
|
||||
ask.en = "Choose the application language"
|
||||
ask.fr = "Choisissez la langue de l'application"
|
||||
|
|
|
@ -17,7 +17,6 @@ timezone="$(cat /etc/timezone)"
|
|||
redis_db=$(ynh_redis_get_free_db)
|
||||
email=$(ynh_user_get_info --username=$admin --key=mail)
|
||||
|
||||
auth_method="ldap"
|
||||
fpm_footprint="low"
|
||||
fpm_free_footprint=0
|
||||
fpm_usage="low"
|
||||
|
@ -27,7 +26,6 @@ fpm_usage="low"
|
|||
#=================================================
|
||||
|
||||
ynh_app_setting_set --app=$app --key=redis_db --value=$redis_db
|
||||
ynh_app_setting_set --app=$app --key=auth_method --value=$auth_method
|
||||
ynh_app_setting_set --app=$app --key=fpm_footprint --value=$fpm_footprint
|
||||
ynh_app_setting_set --app=$app --key=fpm_free_footprint --value=$fpm_free_footprint
|
||||
ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage
|
||||
|
|
Loading…
Add table
Reference in a new issue