@ -88,6 +88,8 @@ func (app *application) tryAuthenticate(next http.Handler) http.Handler {
return
}
w.Header().Add("Cache-Control", "no-store")
next.ServeHTTP(w, r.WithContext(context.WithValue(r.Context(), ctxUser, user)))
})