Explorar o código

Change to an 'enableGithubSync' setting

James Allen %!s(int64=9) %!d(string=hai) anos
pai
achega
7440d8da58
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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}")