From 776522d8741752832981b17ec81deb11a298ef57 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 3 Sep 2023 16:18:20 +0530 Subject: different customers for different users --- auth/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auth/controller.go') diff --git a/auth/controller.go b/auth/controller.go index 93211dd..277a85a 100644 --- a/auth/controller.go +++ b/auth/controller.go @@ -85,7 +85,7 @@ func handleSignIn (ctx *gin.Context) { AuthClaims { jwt.RegisteredClaims { IssuedAt: jwt.NewNumericDate(time.Now()), - ExpiresAt: jwt.NewNumericDate(time.Now().Add(time.Minute * 2)), + ExpiresAt: jwt.NewNumericDate(time.Now().Add(time.Minute * 2)), }, u.ID, }, -- cgit v1.2.3