Use redirect setting instead of re-using setting that coincidentally would be flipped on the same day

This commit is contained in:
Alasdair Smith
2018-08-15 15:22:06 +01:00
parent fc0b9df14c
commit 985344c0d7
@@ -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}")