aboutsummaryrefslogtreecommitdiff
path: root/api/auth_jwt.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/auth_jwt.go')
-rw-r--r--api/auth_jwt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/auth_jwt.go b/api/auth_jwt.go
index f713f4e..5ce1593 100644
--- a/api/auth_jwt.go
+++ b/api/auth_jwt.go
@@ -61,7 +61,7 @@ func CreateJwtToken(userId int64) (string, error) {
61 false, 61 false,
62 userId, 62 userId,
63 jwt.StandardClaims{ 63 jwt.StandardClaims{
64 ExpiresAt: time.Now().Add(time.Hour * 24).Unix(), 64 ExpiresAt: time.Now().Add(time.Hour * 24 * 7).Unix(),
65 }, 65 },
66 } 66 }
67 67