auth

Paddy 2014-08-16 Parent:9a1e62c24903 Child:9fe684b33b3d

15:fc5df8e68c7b Go to Latest

auth/session.go

Render results. Render JSON tokens and errors. Render HTML errors, confirmation, and login pages.

History
paddy@6 1 package auth
paddy@1 2
paddy@1 3 import "net/http"
paddy@1 4
paddy@2 5 func validateSession(r *http.Request, c Context) error {
paddy@11 6 // TODO: return an error if the user does not have a valid session
paddy@1 7 return nil
paddy@1 8 }