mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-16 05:41:13 +08:00
switch to jwt.RegisterdClaims
This commit is contained in:
@@ -41,7 +41,7 @@ type UserClaims struct {
|
||||
IsAdmin bool
|
||||
UserName string
|
||||
Networks []string
|
||||
jwt.StandardClaims
|
||||
jwt.RegisteredClaims
|
||||
}
|
||||
|
||||
// SuccessfulUserLoginResponse - successlogin struct
|
||||
@@ -56,7 +56,7 @@ type Claims struct {
|
||||
ID string
|
||||
MacAddress string
|
||||
Network string
|
||||
jwt.StandardClaims
|
||||
jwt.RegisteredClaims
|
||||
}
|
||||
|
||||
// SuccessfulLoginResponse is struct to send the request response
|
||||
|
Reference in New Issue
Block a user