mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 02:51:57 +02:00
Change to an 'enableGithubSync' setting
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user