Преглед изворни кода

Change to an 'enableGithubSync' setting

James Allen пре 9 година
родитељ
комит
7440d8da58
1 измењених фајлова са 1 додато и 1 уклоњено
  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}")