Added JSON attributes to auth.User
This commit is contained in:
+3
-3
@@ -1,9 +1,9 @@
|
|||||||
package auth
|
package auth
|
||||||
|
|
||||||
type User struct {
|
type User struct {
|
||||||
ID string
|
ID string `json:"id"`
|
||||||
Level string
|
Level string `json:"level"`
|
||||||
Data map[string]string
|
Data map[string]string `json:"data"`
|
||||||
|
|
||||||
method Authenticator
|
method Authenticator
|
||||||
loggedOut bool
|
loggedOut bool
|
||||||
|
|||||||
Reference in New Issue
Block a user