moved LoginResult in types
This commit is contained in:
@@ -40,3 +40,8 @@ type Directory struct {
|
||||
type JWTClaims struct {
|
||||
jwt.StandardClaims
|
||||
}
|
||||
|
||||
type LoginResult struct {
|
||||
Token string `json:"token"`
|
||||
Successful bool `json:"successful"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user