feat: prototyping possible interaction of database, controllers, services with auth service
This commit is contained in:
@@ -6,4 +6,7 @@ import (
|
||||
|
||||
var (
|
||||
ErrUnauthorized = errors.New("User is not authorized")
|
||||
ErrUsernameTaken = errors.New("Provided username is already in use")
|
||||
ErrInvalidCredentials = errors.New("Invalid username, password or TOTP code")
|
||||
ErrInvalidToken = errors.New("Token is invalid or expired")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user