Просмотр исходного кода

Change to an 'enableGithubSync' setting

James Allen 9 лет назад
Родитель
Сommit
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}")