1
0
Fork 0
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:
Éric Gaspar 2023-06-08 14:19:20 +02:00
parent f16b42f62d
commit 8c9eaeec8d
5 changed files with 1 additions and 20 deletions

View file

@ -57,7 +57,7 @@ MAIL_PASSWORD=null
MAIL_ENCRYPTION=null MAIL_ENCRYPTION=null
# General auth # General auth
AUTH_METHOD=__AUTH_METHOD__ AUTH_METHOD=ldap
# LDAP authentication configuration # LDAP authentication configuration
# Refer to https://www.bookstackapp.com/docs/admin/ldap-auth/ # Refer to https://www.bookstackapp.com/docs/admin/ldap-auth/

View file

@ -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.

View file

@ -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.

View file

@ -38,13 +38,6 @@ ram.runtime = "50M"
[install.admin] [install.admin]
type = "user" 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] [install.language]
ask.en = "Choose the application language" ask.en = "Choose the application language"
ask.fr = "Choisissez la langue de l'application" ask.fr = "Choisissez la langue de l'application"

View file

@ -38,12 +38,6 @@ if [ -z "${fpm_usage:-}" ]; then
ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage
fi 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 # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================