some updates
This commit is contained in:
parent
9f4fda3c8b
commit
f5c47ea28a
43 changed files with 80 additions and 356 deletions
|
|
@ -15,10 +15,7 @@ func (db *DB) Remove(sig string) error {
|
|||
}
|
||||
|
||||
func (db *DB) Check(sig string) (ok bool) {
|
||||
if db.store.Get(blacklistPrefix+sig, nil) == nil {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
return db.store.Get(blacklistPrefix+sig, nil) == nil
|
||||
}
|
||||
|
||||
func (db *DB) Map() (list jwt.BlacklistMap, err error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue