diff --git a/internal/event/event.go b/internal/event/event.go index e1ae5fff..eb1ba4ca 100644 --- a/internal/event/event.go +++ b/internal/event/event.go @@ -30,6 +30,10 @@ func Run(options *common.Options, version string) *server { } a := httpauth.AuthOptions{Realm: "teler"} + if !s.options.Configs.Dashboard.Active { + return s + } + mux := goji.NewMux() user := s.options.Configs.Dashboard.Username