diff --git a/router.go b/router.go index cf20b40..9479965 100644 --- a/router.go +++ b/router.go @@ -57,6 +57,10 @@ func (router *Router) ServeHTTP(w http.ResponseWriter, req *http.Request) { sess = auth.FindSession(cookie.Value) if sess != nil { user, _ = auth.FindUser(sess.UserID) + + if user != nil { + user.Session = sess + } } }