diff --git a/backend/models/user.go b/backend/models/user.go index fd341a6..a098ed3 100644 --- a/backend/models/user.go +++ b/backend/models/user.go @@ -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 }