Browse Source

Added JSON attributes to auth.User

master
Gisle Aune 7 years ago
parent
commit
708aa6868d
  1. 6
      auth/user.go

6
auth/user.go

@ -1,9 +1,9 @@
package auth package auth
type User struct { 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 method Authenticator
loggedOut bool loggedOut bool

Loading…
Cancel
Save