parent
e756b13099
commit
7c253d7aa5
2 changed files with 17 additions and 1 deletions
|
@ -5,4 +5,6 @@ import "errors"
|
|||
var (
|
||||
// ErrExpiredToken when expired token.
|
||||
ErrExpiredToken = errors.New("this token has expired")
|
||||
// ErrInvalidToken when the role doesn't match the DB
|
||||
ErrInvalidToken = errors.New("this token needs to be reissued")
|
||||
)
|
||||
|
|
Reference in a new issue