mirror of
https://github.com/ngoduykhanh/wireguard-ui
synced 2024-05-19 14:06:37 +02:00
visualize security
This commit is contained in:
parent
943b2c1090
commit
e2b4997e87
|
@ -67,6 +67,8 @@ function renderClientList(data) {
|
|||
+ allocatedIpsHtml
|
||||
+ `<span class="info-box-text"><strong>Allowed IPs</strong></span>`
|
||||
+ allowedIpsHtml
|
||||
+ `<span class="info-box-text"><i class="fas fa-lock" style="${obj.Client.private_key ? "opacity: 0.5" : "opacity: 1.0"}"></i>
|
||||
${obj.Client.private_key ? 'Private Key stored (insecure)' : 'No Private key'}</span>`
|
||||
+`</div>
|
||||
</div>
|
||||
</div>`
|
||||
|
|
Loading…
Reference in a new issue