auth

Paddy 2014-08-13 Parent:3423c552e249 Child:9fe684b33b3d

11:9a1e62c24903 Go to Latest

auth/session.go

Add a bunch of TODOs. Let's be realistic about what still needs to be done and tag it appropriately.

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 }