diff --git a/conf/.env.example b/conf/.env.example index a0f8a59..f98ee6e 100644 --- a/conf/.env.example +++ b/conf/.env.example @@ -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/ diff --git a/doc/POST_INSTALL.md b/doc/POST_INSTALL.md deleted file mode 100644 index e9ce5f7..0000000 --- a/doc/POST_INSTALL.md +++ /dev/null @@ -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. diff --git a/doc/POST_INSTALL_fr.md b/doc/POST_INSTALL_fr.md deleted file mode 100644 index 4e3cb67..0000000 --- a/doc/POST_INSTALL_fr.md +++ /dev/null @@ -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. diff --git a/manifest.toml b/manifest.toml index 5322121..c741735 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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" diff --git a/scripts/upgrade b/scripts/upgrade index 397512a..4602a18 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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 #=================================================