auth
2:0aa843a306cd
Go to Latest
auth/session.go
Pass context when checking session.
When validating a session pass the context.
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 }