From 794a9c07ffc7dc72993f5240796dfe643d73ed82 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 10 Sep 2023 13:49:34 +0530 Subject: validating email upon user sign up --- user/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user/user.go') 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 } -- cgit v1.2.3