aboutsummaryrefslogtreecommitdiff
path: root/user/user.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-09-10 13:49:34 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-09-10 13:49:34 +0530
commit794a9c07ffc7dc72993f5240796dfe643d73ed82 (patch)
tree26e8175982cb00dcd3dc4f099b6b7309ddda2fa1 /user/user.go
parent8f2180401fd05ba63633d9559dc156f5ca1573ba (diff)
validating email upon user sign upv0.0.7
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
}