mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-21 20:12:33 +03:00
Remove log entries
This commit is contained in:
parent
a61c4fa65f
commit
b0780d3bf5
1 changed files with 0 additions and 2 deletions
|
@ -280,8 +280,6 @@ func UpdateClient(db store.IStore) echo.HandlerFunc {
|
|||
return c.JSON(http.StatusBadRequest, jsonHTTPResponse{false, "Allowed IPs must be in CIDR format"})
|
||||
}
|
||||
|
||||
log.Infof("array length: %d", len(_client.ExtraAllowedIPs) )
|
||||
log.Infof("extraAllowedIPs: %v", _client.ExtraAllowedIPs)
|
||||
if len(_client.ExtraAllowedIPs) > 0 && util.ValidateAllowedIPs(_client.ExtraAllowedIPs) == false {
|
||||
log.Warnf("Invalid Allowed IPs input from user: %v", _client.ExtraAllowedIPs)
|
||||
return c.JSON(http.StatusBadRequest, jsonHTTPResponse{false, "Extra Allowed IPs must be in CIDR format"})
|
||||
|
|
Loading…
Add table
Reference in a new issue