fix: remove global auth middleware, causing webui login issues
CI / Lint (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Build (push) Has been cancelled

This commit is contained in:
2026-04-09 12:21:02 -04:00
parent 9b0aa4dbe8
commit da074f52b4
-2
View File
@@ -168,8 +168,6 @@ func (s *Server) RefreshProviders() error {
} }
func (s *Server) setupRoutes() { func (s *Server) setupRoutes() {
s.router.Use(middleware.AuthMiddleware(s.database))
// Static files // Static files
s.router.StaticFile("/", "./static/index.html") s.router.StaticFile("/", "./static/index.html")
s.router.StaticFile("/favicon.ico", "./static/favicon.ico") s.router.StaticFile("/favicon.ico", "./static/favicon.ico")