diff --git a/services/web/app/coffee/infrastructure/Features.coffee b/services/web/app/coffee/infrastructure/Features.coffee index e4a8fefbe8..9bf800f55f 100644 --- a/services/web/app/coffee/infrastructure/Features.coffee +++ b/services/web/app/coffee/infrastructure/Features.coffee @@ -8,5 +8,7 @@ module.exports = Features = switch feature when 'registration' return not Features.externalAuthenticationSystemUsed() + when 'github-sync' + return not Settings.disableGithubSync else throw new Error("unknown feature: #{feature}")