Commit 2af28b90 by Haneysmith, Nathan

whitespace update per gofmt

parent 09b0e6e3
...@@ -17,7 +17,7 @@ func AdminGetSettings(c *middleware.Context) { ...@@ -17,7 +17,7 @@ func AdminGetSettings(c *middleware.Context) {
for _, key := range section.Keys() { for _, key := range section.Keys() {
keyName := key.Name() keyName := key.Name()
value := key.Value() value := key.Value()
if strings.Contains(keyName, "secret") || strings.Contains(keyName, "password") || (strings.Contains(keyName, "provider_config") && strings.Contains(value, "@")) { if strings.Contains(keyName, "secret") || strings.Contains(keyName, "password") || (strings.Contains(keyName, "provider_config") && strings.Contains(value, "@")) {
value = "************" value = "************"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment