Add handling for peers without private keys and update translations

This commit is contained in:
Eduardo Silva
2025-08-12 11:44:34 -03:00
parent 1f87e0bf25
commit d6843db9fb
13 changed files with 194 additions and 118 deletions

View File

@@ -129,6 +129,7 @@ def peer_info(request):
'name': str(peer),
'public_key': str(peer.public_key),
'uuid': str(peer.uuid),
'private_key_exists': bool(peer.private_key),
}
return JsonResponse(data)