Skip to content

Commit ae2db35

Browse files
authored
Update claims.go
1 parent a3b2ffd commit ae2db35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

claims.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func (c *StandardClaims) VerifyIssuer(cmp string, req bool) bool {
8181
return verifyIss(c.Issuer, cmp, req)
8282
}
8383

84-
// VerifyNotBefore compares the exp claim against cmp (cmp >= nbf).
84+
// VerifyNotBefore compares the nbf claim against cmp (cmp >= nbf).
8585
// If req is false, it will return true, if nbf is unset.
8686
func (c *StandardClaims) VerifyNotBefore(cmp int64, req bool) bool {
8787
return verifyNbf(c.NotBefore, cmp, req)

0 commit comments

Comments
 (0)