mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-06-06 00:37:24 +03:00
Added UseServerDNS option for clients who do not have to use the DNS specified in the server configuration. (#79)
This commit is contained in:
parent
de0c9fd26b
commit
2aa042b919
8 changed files with 49 additions and 9 deletions
|
@ -241,6 +241,7 @@ func UpdateClient() echo.HandlerFunc {
|
|||
client.Name = _client.Name
|
||||
client.Email = _client.Email
|
||||
client.Enabled = _client.Enabled
|
||||
client.UseServerDNS = _client.UseServerDNS
|
||||
client.AllocatedIPs = _client.AllocatedIPs
|
||||
client.AllowedIPs = _client.AllowedIPs
|
||||
client.UpdatedAt = time.Now().UTC()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue