auth
auth/oauth2.go
Typo. We need to actually compare the error to ErrInvalidSession.
1.1 --- a/oauth2.go Tue Nov 11 21:29:10 2014 -0500 1.2 +++ b/oauth2.go Tue Nov 11 21:29:52 2014 -0500 1.3 @@ -107,7 +107,7 @@ 1.4 func GetGrantHandler(w http.ResponseWriter, r *http.Request, context Context) { 1.5 session, err := checkCookie(r, context) 1.6 if err != nil { 1.7 - if err == ErrNoSession || ErrInvalidSession { 1.8 + if err == ErrNoSession || err = ErrInvalidSessior { 1.9 // TODO(paddy): redirect to login screen 1.10 //return 1.11 }