mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Add feature flag for redirecting SL to v2
This commit is contained in:
@@ -25,5 +25,7 @@ module.exports = Features =
|
|||||||
when 'rich-text'
|
when 'rich-text'
|
||||||
isEnabled = true # Switch to false to disable
|
isEnabled = true # Switch to false to disable
|
||||||
Settings.overleaf? and isEnabled
|
Settings.overleaf? and isEnabled
|
||||||
|
when 'redirect-sl'
|
||||||
|
return Settings.createV1AccountOnLogin
|
||||||
else
|
else
|
||||||
throw new Error("unknown feature: #{feature}")
|
throw new Error("unknown feature: #{feature}")
|
||||||
|
|||||||
Reference in New Issue
Block a user