This commit is contained in:
ston1th 2018-09-13 16:02:17 +02:00
commit b071c473f0

2
jwt.go
View file

@ -166,7 +166,7 @@ func (jwt *JWT) clean() {
t.Stop()
return
}
now := time.Now().UTC().Unix()
now := Now()
for k, v := range jwt.blacklist.Map() {
if now > v {
jwt.blacklist.Remove(k)