diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-09-03 16:18:20 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-09-03 16:18:20 +0530 |
commit | 776522d8741752832981b17ec81deb11a298ef57 (patch) | |
tree | f7c0654f2b3dbc475c2a32daa5c623eec0ffce4a /auth | |
parent | 95dfc551f7eaaf6e8ebdefce1b733951354ac40d (diff) |
different customers for different users
Diffstat (limited to 'auth')
-rw-r--r-- | auth/controller.go | 2 |
1 files changed, 1 insertions, 1 deletions
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, }, |