mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-28 01:51:54 +00:00
Change to an 'enableGithubSync' setting
This commit is contained in:
parent
4f905af078
commit
7440d8da58
1 changed files with 1 additions and 1 deletions
|
@ -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}")
|
||||
|
|
Loading…
Reference in a new issue