|
@@ -9,6 +9,6 @@ module.exports = Features =
|
|
|
when 'registration'
|
|
when 'registration'
|
|
|
return not Features.externalAuthenticationSystemUsed()
|
|
return not Features.externalAuthenticationSystemUsed()
|
|
|
when 'github-sync'
|
|
when 'github-sync'
|
|
|
- return not Settings.disableGithubSync
|
|
|
|
|
|
|
+ return Settings.enableGithubSync
|
|
|
else
|
|
else
|
|
|
throw new Error("unknown feature: #{feature}")
|
|
throw new Error("unknown feature: #{feature}")
|