Add support to completely remove PII

https://github.com/unpoller/unifi/issues/56
This commit is contained in:
Cody Lee
2022-12-21 20:34:32 -06:00
parent e4c296c63d
commit 0e5d743182
5 changed files with 44 additions and 18 deletions

View File

@@ -47,6 +47,7 @@ func formatControllers(controllers []*Controller) []*Controller {
SaveIDS: c.SaveIDS,
SaveDPI: c.SaveDPI,
HashPII: c.HashPII,
DropPII: c.DropPII,
SaveSites: c.SaveSites,
User: c.User,
Pass: strconv.FormatBool(c.Pass != ""),