auth

Paddy 2014-08-01 Parent:7b9e0fc20256 Child:3423c552e249

2:0aa843a306cd Go to Latest

auth/session.go

Pass context when checking session. When validating a session pass the context.

History
     1.1 --- a/session.go	Fri Aug 01 23:08:38 2014 -0400
     1.2 +++ b/session.go	Fri Aug 01 23:54:30 2014 -0400
     1.3 @@ -2,6 +2,6 @@
     1.4  
     1.5  import "net/http"
     1.6  
     1.7 -func validateSession(r *http.Request) error {
     1.8 +func validateSession(r *http.Request, c Context) error {
     1.9  	return nil
    1.10  }