diff options
author | Tuomo Ala-Vannesluoma <tuomoav@gmail.com> | 2018-08-10 00:06:43 +0300 |
---|---|---|
committer | Tuomo Ala-Vannesluoma <tuomoav@gmail.com> | 2018-08-10 00:23:53 +0300 |
commit | 3425634584820837fd88d14b944bbdc391823936 (patch) | |
tree | f199d9e79a8d2208c28871ea628ae2668d9d4fe3 /app.go | |
parent | b30197c907c86e38740df5640642f2a5ea739c69 (diff) |
Allow auth proxying only for configured domains and everything under pages domain
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -164,7 +164,7 @@ func (a *theApp) serveContent(ww http.ResponseWriter, r *http.Request, https boo host, domain := a.getHostAndDomain(r) - if a.Auth.TryAuthenticate(&w, r) { + if a.Auth.TryAuthenticate(&w, r, a.dm, &a.lock) { return } |