feat: make api more secure (#2015)

make api more secure
This commit is contained in:
Bernd Storath
2025-07-09 15:42:29 +02:00
committed by GitHub
parent 0abc419db7
commit 90b9ba15ec
3 changed files with 32 additions and 2 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ class WireGuard {
async getAllClients() {
const wgInterface = await Database.interfaces.get();
const dbClients = await Database.clients.getAll();
const dbClients = await Database.clients.getAllPublic();
const clients = dbClients.map((client) => ({
...client,
latestHandshakeAt: null as Date | null,