Add user management endpoints

This commit is contained in:
Cohee
2024-04-07 17:44:40 +03:00
parent b07aef02c7
commit c6ffe4502a
7 changed files with 346 additions and 73 deletions

View File

@@ -1,10 +1,12 @@
# -- NETWORK CONFIGURATION --
# -- DATA CONFIGURATION --
# Root directory for user data storage
dataRoot: ./data
# -- SERVER CONFIGURATION --
# Listen for incoming connections
listen: false
# Server port
port: 8000
# -- SECURITY CONFIGURATION --
# Toggle whitelist mode
whitelistMode: true
# Whitelist of allowed IP addresses
@@ -18,6 +20,8 @@ basicAuthUser:
password: "password"
# Enables CORS proxy middleware
enableCorsProxy: false
# Enable multi-user mode
enableUserAccounts: true
# Used to sign session cookies. Will be auto-generated if not set
cookieSecret: ''
# Disable security checks - NOT RECOMMENDED