diff --git a/pkg/qbit/routes.go b/pkg/qbit/routes.go index bd5a1ad..ca6f29a 100644 --- a/pkg/qbit/routes.go +++ b/pkg/qbit/routes.go @@ -10,7 +10,7 @@ func (q *QBit) Routes() http.Handler { r.Use(q.CategoryContext) r.Group(func(r chi.Router) { r.Use(q.authContext) - r.Post("/register/login", q.handleLogin) + r.Post("/auth/login", q.handleLogin) r.Route("/torrents", func(r chi.Router) { r.Use(HashesCtx) r.Get("/info", q.handleTorrentsInfo) diff --git a/pkg/web/templates/config.html b/pkg/web/templates/config.html index 3e0b316..b3c244e 100644 --- a/pkg/web/templates/config.html +++ b/pkg/web/templates/config.html @@ -48,7 +48,7 @@