Răsfoiți Sursa

Change to an 'enableGithubSync' setting

James Allen 9 ani în urmă
părinte
comite
7440d8da58
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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}")