From db357b82d022d7f0175573b25ac2a4ce03782ca5 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Mon, 8 Sep 2025 19:16:52 +0200 Subject: [PATCH] update doc for disable_admin_user flag (#515) --- docs/documentation/configuration/overview.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/documentation/configuration/overview.md b/docs/documentation/configuration/overview.md index 1268582..7c0000f 100644 --- a/docs/documentation/configuration/overview.md +++ b/docs/documentation/configuration/overview.md @@ -16,6 +16,7 @@ core: admin_user: admin@wgportal.local admin_password: wgportal-default admin_api_token: "" + disable_admin_user: false editable_keys: true create_default_peer: false create_default_peer_on_creation: false @@ -131,6 +132,10 @@ More advanced options are found in the subsequent `Advanced` section. - **Description:** The administrator password. The default password should be changed immediately! - **Important:** The password should be strong and secure. The minimum password length is specified in [auth.min_password_length](#min_password_length). By default, it is 16 characters. +### `disable_admin_user` +- **Default:** `false` +- **Description:** If `true`, no admin user is created. This is useful if you plan to manage users exclusively through external authentication providers such as LDAP or OAuth. + ### `admin_api_token` - **Default:** *(empty)* - **Description:** An API token for the admin user. If a token is provided, the REST API can be accessed using this token. If empty, the API is initially disabled for the admin user.