Skip to content

Commit 7010409

Browse files
luizfonsecaCopilot
andauthored
chore: update internal/pkg/jwt/jwt.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent db6c73a commit 7010409

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/pkg/jwt/jwt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func GenerateJwtTokenString(id string, login string, teamIds []string, key strin
1818
"id": id,
1919
"login": login,
2020
"teams": teamIds,
21-
// buffer of time to expire token is 10 seconds from the set time
21+
// buffer of time to expire token is 60 seconds from the set time
2222
"exp": jwt.NewNumericDate(exp.Add(time.Second * 60)),
2323
})
2424
return token.SignedString([]byte(key))

0 commit comments

Comments
 (0)