Added JSON attributes to auth.User

This commit is contained in:
2017-08-13 16:23:52 +02:00
parent 865ce6f80e
commit 708aa6868d
+3 -3
View File
@@ -1,9 +1,9 @@
package auth
type User struct {
ID string
Level string
Data map[string]string
ID string `json:"id"`
Level string `json:"level"`
Data map[string]string `json:"data"`
method Authenticator
loggedOut bool