- commit
- e52ab6f
- parent
- f71a10d
- author
- Antonio Mika
- date
- 2022-08-28 04:05:25 +0000 UTC
Move logging before auth
4 files changed,
+4,
-4
+1,
-1
1@@ -43,8 +43,8 @@ func createRouter(cfg *shared.ConfigSite, handler utils.CopyFromClientHandler) p
2 scp.Middleware(handler),
3 wishrsync.Middleware(handler),
4 bm.Middleware(cms.Middleware(&cfg.ConfigCms, cfg)),
5- lm.Middleware(),
6 auth.Middleware(handler),
7+ lm.Middleware(),
8 }
9 }
10 }
+1,
-1
1@@ -42,8 +42,8 @@ func createRouter(handler *filehandlers.ScpUploadHandler) proxy.Router {
2 scp.Middleware(handler),
3 wishrsync.Middleware(handler),
4 bm.Middleware(cms.Middleware(&handler.Cfg.ConfigCms, handler.Cfg)),
5- lm.Middleware(),
6 auth.Middleware(handler),
7+ lm.Middleware(),
8 }
9 }
10 }
+1,
-1
1@@ -42,8 +42,8 @@ func createRouter(handler *filehandlers.ScpUploadHandler) proxy.Router {
2 scp.Middleware(handler),
3 wishrsync.Middleware(handler),
4 bm.Middleware(cms.Middleware(&handler.Cfg.ConfigCms, handler.Cfg)),
5- lm.Middleware(),
6 auth.Middleware(handler),
7+ lm.Middleware(),
8 }
9 }
10 }
+1,
-1
1@@ -42,8 +42,8 @@ func createRouter(handler *filehandlers.ScpUploadHandler) proxy.Router {
2 scp.Middleware(handler),
3 wishrsync.Middleware(handler),
4 bm.Middleware(cms.Middleware(&handler.Cfg.ConfigCms, handler.Cfg)),
5- lm.Middleware(),
6 auth.Middleware(handler),
7+ lm.Middleware(),
8 }
9 }
10 }