mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-27 20:39:53 +01:00
Fix possible authentication bypass
This commit is contained in:
parent
f69c27d146
commit
1132abb013
2 changed files with 5 additions and 3 deletions
|
|
@ -34,8 +34,8 @@ type Server struct {
|
|||
|
||||
func New(ds model.DataStore, broker events.Broker) *Server {
|
||||
s := &Server{ds: ds, broker: broker}
|
||||
auth.Init(s.ds)
|
||||
initialSetup(ds)
|
||||
auth.Init(s.ds)
|
||||
s.initRoutes()
|
||||
s.mountAuthenticationRoutes()
|
||||
s.mountRootRedirector()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue