less weird log message

This commit is contained in:
Dane Everitt 2020-11-03 21:02:10 -08:00
parent 08d1efb475
commit af9ed4bff1
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -29,7 +29,7 @@ var denylist sync.Map
// Adds a JTI to the denylist by marking any JWTs generated before the current time as
// being invalid if they use the same JTI.
func DenyJTI(jti string) {
log.WithField("jti", jti).Debugf("adding all JWTs with JTI of \"%s\" created before current time to denylist", jti)
log.WithField("jti", jti).Debugf("adding \"%s\" to JTI denylist", jti)
denylist.Store(jti, time.Now())
}