Parcourir la source

Change to an 'enableGithubSync' setting

James Allen il y a 9 ans
Parent
commit
7440d8da58
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      services/web/app/coffee/infrastructure/Features.coffee

+ 1 - 1
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}")