From a0613bfd790b27f313470bddc08371bcbf54968d Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 10 Sep 2023 23:06:48 +0530 Subject: actually hashing and comparing passwords (not empty strings) --- 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 132acb6..ee36e95 100644 --- a/user/user.go +++ b/user/user.go @@ -40,7 +40,7 @@ type User struct { gorm.Model Username string Email string - Password string `json:"-"` + Password string IsVerified bool } -- cgit v1.2.3