remove returning password
This commit is contained in:
@@ -5,6 +5,6 @@ import "gorm.io/gorm"
|
||||
type User struct {
|
||||
gorm.Model // includes ID, CreatedAt, UpdatedAt, DeletedAt
|
||||
Username string `gorm:"uniqueIndex"`
|
||||
Password []byte
|
||||
Password []byte `json:"-"`
|
||||
Admin bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user