diff options
author | Tuomo Ala-Vannesluoma <tuomoav@gmail.com> | 2018-10-02 19:16:34 +0300 |
---|---|---|
committer | Tuomo Ala-Vannesluoma <tuomoav@gmail.com> | 2018-10-02 19:16:34 +0300 |
commit | 934846801003e59e006d8ca47d985c6102bc93aa (patch) | |
tree | 9d7edeb8dc243c037d0d3718664f5871ba6f1c2a /app.go | |
parent | c84c03d5fecb2214fe8fb43ad740ccf37a967990 (diff) |
Fix comparing the domain and log request information as well. Removed invalid comment and fixed one else case.
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -175,7 +175,10 @@ func (a *theApp) serveContent(ww http.ResponseWriter, r *http.Request, https boo // Only for projects that have access control enabled if domain.IsAccessControlEnabled(r) { - log.Debug("Authenticate request") + log.WithFields(log.Fields{ + "host": r.Host, + "path": r.RequestURI, + }).Debug("Authenticate request") if a.Auth.CheckAuthentication(&w, r, domain.GetID(r)) { return |