This commit is contained in:
eson
2023-08-28 14:21:06 +08:00
parent 2830ea8724
commit bde9e98f62
26 changed files with 43 additions and 35 deletions

View File

@@ -141,7 +141,7 @@ func BenchmarkJWT(b *testing.B) {
for i := 0; i < b.N; i++ {
claims := &jwt.StandardClaims{
ExpiresAt: time.Now().Unix() + 1020213021,
ExpiresAt: time.Now().UTC().Unix() + 1020213021,
Issuer: "test",
}