mirror of
https://github.com/h44z/wg-portal.git
synced 2025-09-15 07:11:15 +00:00
update doc for disable_admin_user flag (#515)
This commit is contained in:
@@ -16,6 +16,7 @@ core:
|
|||||||
admin_user: admin@wgportal.local
|
admin_user: admin@wgportal.local
|
||||||
admin_password: wgportal-default
|
admin_password: wgportal-default
|
||||||
admin_api_token: ""
|
admin_api_token: ""
|
||||||
|
disable_admin_user: false
|
||||||
editable_keys: true
|
editable_keys: true
|
||||||
create_default_peer: false
|
create_default_peer: false
|
||||||
create_default_peer_on_creation: 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!
|
- **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.
|
- **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`
|
### `admin_api_token`
|
||||||
- **Default:** *(empty)*
|
- **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.
|
- **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.
|
||||||
|
Reference in New Issue
Block a user