Change to an 'enableGithubSync' setting

This commit is contained in:
James Allen 2017-11-22 10:44:57 +00:00
parent 4f905af078
commit 7440d8da58

View file

@ -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}")