From 7440d8da581cf836ae5fed07fe49e59aceb7b85e Mon Sep 17 00:00:00 2001 From: James Allen Date: Wed, 22 Nov 2017 10:44:57 +0000 Subject: [PATCH] Change to an 'enableGithubSync' setting --- services/web/app/coffee/infrastructure/Features.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/coffee/infrastructure/Features.coffee b/services/web/app/coffee/infrastructure/Features.coffee index 9bf800f55f..0a59cf931e 100644 --- a/services/web/app/coffee/infrastructure/Features.coffee +++ b/services/web/app/coffee/infrastructure/Features.coffee @@ -9,6 +9,6 @@ module.exports = Features = when 'registration' return not Features.externalAuthenticationSystemUsed() when 'github-sync' - return not Settings.disableGithubSync + return Settings.enableGithubSync else throw new Error("unknown feature: #{feature}")