π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
docs: add documentation for CONFIG_DISABLE_NATIVE_LOGIN app flag
Smaug673953c77a993806
diff --git a/docs/README.md b/docs/README.mdindex 91203b20..52f2a917 100644--- a/docs/README.md+++ b/docs/README.md@@ -71,12 +71,14 @@ These variables define how clients (browsers) reach your services.```envCONFIG_DISABLE_LANDING=falseCONFIG_DISABLE_SIGNUP=false+CONFIG_DISABLE_NATIVE_LOGIN=false```These variables control specific features of the application (useful for private deployments, internal tools etc.).- `CONFIG_DISABLE_LANDING`: If set to `true`, the landing page is disabled, and users are redirected to the login page. The default is `false`.- `CONFIG_DISABLE_SIGNUP`: If set to `true`, new user registrations are disabled (in frontend + backend for security). The default is `false`.+- `CONFIG_DISABLE_NATIVE_LOGIN`: If set to `true`, the native username/password login method is disabled. This is useful if you want to enforce OIDC or other external authentication methods. The default is `false`.### 3. Backend API β Runtime & Securitydiff --git a/docs/env.md b/docs/env.mdindex 090d3bd5..c46158d9 100644--- a/docs/env.md+++ b/docs/env.md@@ -19,10 +19,11 @@ Only variables documented here and in `.env.example` are officially supported.## Application Feature Flags-| Variable | Accepted Values | Default | Description |-| ------------------------ | ---------------- | ------- | ------------------------------------------------------- |-| `CONFIG_DISABLE_LANDING` | `true` / `false` | `false` | Disables the landing page and redirects users to login. |-| `CONFIG_DISABLE_SIGNUP` | `true` / `false` | `false` | Disables new user registrations (frontend + backend). |+| Variable | Accepted Values | Default | Description |+| ----------------------------- | ---------------- | ------- | ------------------------------------------------------- |+| `CONFIG_DISABLE_LANDING` | `true` / `false` | `false` | Disables the landing page and redirects users to login. |+| `CONFIG_DISABLE_SIGNUP` | `true` / `false` | `false` | Disables new user registrations (frontend + backend). |+| `CONFIG_DISABLE_NATIVE_LOGIN` | `true` / `false` | `false` | Disables the native username/password login. |---