Skip to content

Commit

Permalink
fix groups
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-deboer committed Oct 14, 2017
1 parent c720e3b commit 9a7a7c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ func (m *Manager) listLoginMethods(w http.ResponseWriter, r *http.Request) {
}

type userInfo struct {
User string `json:"user,omitempty"`
Groups string `json:"groups,omitempty"`
SessionExpires string `json:"session_expires,omitempty"`
User string `json:"user,omitempty"`
Groups []string `json:"groups,omitempty"`
SessionExpires string `json:"session_expires,omitempty"`
}

func (m *Manager) userInfo(w http.ResponseWriter, r *http.Request) {
Expand Down

0 comments on commit 9a7a7c2

Please sign in to comment.