mirror of
https://github.com/YunoHost-Apps/bookstack_ynh.git
synced 2024-09-03 18:16:02 +02:00
remove standard
This commit is contained in:
parent
f16b42f62d
commit
8c9eaeec8d
5 changed files with 1 additions and 20 deletions
|
@ -57,7 +57,7 @@ MAIL_PASSWORD=null
|
|||
MAIL_ENCRYPTION=null
|
||||
|
||||
# General auth
|
||||
AUTH_METHOD=__AUTH_METHOD__
|
||||
AUTH_METHOD=ldap
|
||||
|
||||
# LDAP authentication configuration
|
||||
# Refer to https://www.bookstackapp.com/docs/admin/ldap-auth/
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
BookStack uses LDAP authentication by default.
|
||||
|
||||
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,3 +0,0 @@
|
|||
BookStack utilise l'authentification LDAP par défaut.
|
||||
|
||||
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,13 +38,6 @@ 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"
|
||||
|
|
|
@ -38,12 +38,6 @@ if [ -z "${fpm_usage:-}" ]; then
|
|||
ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage
|
||||
fi
|
||||
|
||||
# If auth_method doesn't exist, create it
|
||||
if [ -z "${auth_method:-}" ]; then
|
||||
auth_method="standard"
|
||||
ynh_app_setting_set --app=$app --key=auth_method --value=$auth_method
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue