mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-20 20:03:39 +03:00
Log client ID when removing client.
This commit is contained in:
parent
27c6447c74
commit
510ba54a21
1 changed files with 1 additions and 1 deletions
|
@ -821,7 +821,7 @@ func RemoveClient(db store.IStore) echo.HandlerFunc {
|
|||
return c.JSON(http.StatusInternalServerError, jsonHTTPResponse{false, "Cannot delete client from database"})
|
||||
}
|
||||
|
||||
log.Infof("Removed wireguard client: %v", client.Name)
|
||||
log.Infof("Removed wireguard client: %v", client.ID)
|
||||
return c.JSON(http.StatusOK, jsonHTTPResponse{true, "Client removed"})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue