mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 20:31:34 +02:00
Add feature flag for github sync
This commit is contained in:
@@ -8,5 +8,7 @@ module.exports = Features =
|
||||
switch feature
|
||||
when 'registration'
|
||||
return not Features.externalAuthenticationSystemUsed()
|
||||
when 'github-sync'
|
||||
return not Settings.disableGithubSync
|
||||
else
|
||||
throw new Error("unknown feature: #{feature}")
|
||||
|
||||
Reference in New Issue
Block a user