dep upgrade
This commit is contained in:
@ -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=")
|
||||
|
Reference in New Issue
Block a user