- commit
- af76934
- parent
- 160f932
- author
- Eric Bower
- date
- 2022-08-30 13:28:27 +0000 UTC
fix(all): moved auth middleware above bubbletea
4 files changed,
+4,
-4
+1,
-1
1@@ -42,8 +42,8 @@ func createRouter(cfg *shared.ConfigSite, handler utils.CopyFromClientHandler) p
2 list.Middleware(handler),
3 scp.Middleware(handler),
4 wishrsync.Middleware(handler),
5- bm.Middleware(cms.Middleware(&cfg.ConfigCms, cfg)),
6 auth.Middleware(handler),
7+ bm.Middleware(cms.Middleware(&cfg.ConfigCms, cfg)),
8 lm.Middleware(),
9 }
10 }
+1,
-1
1@@ -41,8 +41,8 @@ func createRouter(handler *filehandlers.ScpUploadHandler) proxy.Router {
2 list.Middleware(handler),
3 scp.Middleware(handler),
4 wishrsync.Middleware(handler),
5- bm.Middleware(cms.Middleware(&handler.Cfg.ConfigCms, handler.Cfg)),
6 auth.Middleware(handler),
7+ bm.Middleware(cms.Middleware(&handler.Cfg.ConfigCms, handler.Cfg)),
8 lm.Middleware(),
9 }
10 }
+1,
-1
1@@ -41,8 +41,8 @@ func createRouter(handler *filehandlers.ScpUploadHandler) proxy.Router {
2 list.Middleware(handler),
3 scp.Middleware(handler),
4 wishrsync.Middleware(handler),
5- bm.Middleware(cms.Middleware(&handler.Cfg.ConfigCms, handler.Cfg)),
6 auth.Middleware(handler),
7+ bm.Middleware(cms.Middleware(&handler.Cfg.ConfigCms, handler.Cfg)),
8 lm.Middleware(),
9 }
10 }
+1,
-1
1@@ -41,8 +41,8 @@ func createRouter(handler *filehandlers.ScpUploadHandler) proxy.Router {
2 list.Middleware(handler),
3 scp.Middleware(handler),
4 wishrsync.Middleware(handler),
5- bm.Middleware(cms.Middleware(&handler.Cfg.ConfigCms, handler.Cfg)),
6 auth.Middleware(handler),
7+ bm.Middleware(cms.Middleware(&handler.Cfg.ConfigCms, handler.Cfg)),
8 lm.Middleware(),
9 }
10 }