diff --git a/cmd/eksterd/app.go b/cmd/eksterd/app.go index b20b10a..e521414 100644 --- a/cmd/eksterd/app.go +++ b/cmd/eksterd/app.go @@ -39,10 +39,12 @@ func NewApp(options AppOptions) (*App, error) { if err != nil { return nil, err } + app.backend = backend + // FIXME: load from database app.backend.TokenEndpoint = "https://p83.nl/auth/token" app.backend.Me = "https://p83.nl/" - app.backend = backend + app.backend.AuthEnabled = options.AuthEnabled app.backend.baseURL = options.BaseURL app.backend.hubIncomingBackend.pool = options.pool