feat: better inbounds user management

This commit is contained in:
FUFSoB committed 2026-10-14 21:41:49 +05:00
1 parent 2f8414455d
commit 9f7ad91f39
47 files changed
+6767 -78

No files matched your search

+3
View File
@@ -240,6 +240,9 @@ def render_server_config(listener: dict, state: dict) -> str:
awg = listener["amneziaWg"]
peers = []
for user in listener["users"]:
# Switched off by the manager: no peer, but the keys and address stay in the state.
if user.get("active") is False:
continue
entry = state["users"][user["name"]]
peer: dict[str, Any] = {
"publicKey": entry["publicKey"],