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
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

Loading…
Cancel
Save