fix: bridge panel admin authorization

This commit is contained in:
kory
2026-10-02 13:36:25 +08:00
parent 556870b594
commit 9fbb2bd80a
3 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -332,7 +332,7 @@ func (s *Server) clusterDeviceNames() []string {
}
func (s *Server) Panel(password string) http.Handler {
p := panelweb.New(password, s)
p := panelweb.New(password, s.AdminToken, s)
go p.Cleanup()
return p.Handler()
}