dep upgrade

This commit is contained in:
2023-11-12 17:33:36 +01:00
parent 7fd8f4a884
commit 2c11283b4b
11 changed files with 774 additions and 156 deletions

View File

@ -23,7 +23,7 @@ type Account struct {
// Username holds the value of the "username" field.
Username string `json:"username,omitempty"`
// Password holds the value of the "password" field.
Password []byte `json:"password,omitempty"`
Password []byte `json:"-"`
// Super holds the value of the "super" field.
Super bool `json:"super,omitempty"`
// Active holds the value of the "active" field.
@ -178,8 +178,7 @@ func (a *Account) String() string {
builder.WriteString(a.Modified.Format(time.ANSIC))
builder.WriteString(", username=")
builder.WriteString(a.Username)
builder.WriteString(", password=")
builder.WriteString(fmt.Sprintf("%v", a.Password))
builder.WriteString(", password=<sensitive>")
builder.WriteString(", super=")
builder.WriteString(fmt.Sprintf("%v", a.Super))
builder.WriteString(", active=")