GET /_session returns info about the current user
()
| 37 | |
| 38 | // GET /_session returns info about the current user |
| 39 | func (h *handler) handleSessionGET() error { |
| 40 | return h.respondWithSessionInfo() |
| 41 | } |
| 42 | |
| 43 | // POST /_session creates a login session and sets its cookie |
| 44 | func (h *handler) handleSessionPOST() error { |
nothing calls this directly
no test coverage detected