Skip to content

Commit

Permalink
fix: whoami returns 401 not 403
Browse files Browse the repository at this point in the history
Closes #729
  • Loading branch information
aeneasr committed Oct 8, 2020
1 parent d96d113 commit cc6f2e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ type whoamiParameters struct {
//
// Responses:
// 200: session
// 403: genericError
// 401: genericError
// 500: genericError
func (h *Handler) whoami(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
s, err := h.r.SessionManager().FetchFromRequest(r.Context(), r)
Expand Down

0 comments on commit cc6f2e6

Please sign in to comment.