feat: basic api-key based authentication

This commit is contained in:
DaanSelen
2026-03-03 16:01:00 +01:00
parent f99a24005a
commit c4d36c48bc
9 changed files with 205 additions and 62 deletions
+4 -3
View File
@@ -9,17 +9,17 @@ peer_keep_alive = 21
[Server]
hostname = 0.0.0.0
port = 10086
debug_enabled = true
debug_enabled = True
wg_conf_path = /etc/wireguard
awg_conf_path = /etc/amnezia/amneziawg
app_prefix =
auth_req = true
auth_req = True
version = v5.0.0
dashboard_refresh_interval = 60000
dashboard_peer_list_display = grid
dashboard_sort = status
dashboard_theme = dark
wgdashboard_apikey = false
wgdashboard_apikey = true
dashboard_language = en-US
log_level = DEBUG
@@ -31,6 +31,7 @@ totp_verified = false
totp_key = ZSI2Z4QHSGVAK6TFVMZXORFDWKHDN4TQ
[Other]
welcome_session = false
[Database]
type = sqlite