diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/auth_jwt.go | 2 |
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 | ||