aboutsummaryrefslogtreecommitdiff
path: root/user/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'user/user.go')
-rw-r--r--user/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/user.go b/user/user.go
index ee36e95..132acb6 100644
--- a/user/user.go
+++ b/user/user.go
@@ -40,7 +40,7 @@ type User struct {
gorm.Model
Username string
Email string
- Password string
+ Password string `json:"-"`
IsVerified bool
}