mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Use redirect setting instead of re-using setting that coincidentally would be flipped on the same day
This commit is contained in:
parent
fc0b9df14c
commit
985344c0d7
1 changed files with 1 additions and 1 deletions
|
@ -26,6 +26,6 @@ module.exports = Features =
|
|||
isEnabled = true # Switch to false to disable
|
||||
Settings.overleaf? and isEnabled
|
||||
when 'redirect-sl'
|
||||
return Settings.createV1AccountOnLogin
|
||||
return Settings.redirectToV2?
|
||||
else
|
||||
throw new Error("unknown feature: #{feature}")
|
||||
|
|
Loading…
Reference in a new issue