- Add json:"-" tags to SessionSecret and PrivateKey fields - Replace login request struct with map[string]string to avoid exported field matching secret pattern in JSON key |
||
|---|---|---|
| .. | ||
| keygen_test.go | ||
| keygen.go | ||
- Add json:"-" tags to SessionSecret and PrivateKey fields - Replace login request struct with map[string]string to avoid exported field matching secret pattern in JSON key |
||
|---|---|---|
| .. | ||
| keygen_test.go | ||
| keygen.go | ||