From 985344c0d74edfb3c138525213d336e670048236 Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Wed, 8 Aug 2018 15:24:20 +0100 Subject: [PATCH] Use redirect setting instead of re-using setting that coincidentally would be flipped on the same day --- services/web/app/coffee/infrastructure/Features.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/coffee/infrastructure/Features.coffee b/services/web/app/coffee/infrastructure/Features.coffee index 496bbf1e39..43dadcda2d 100644 --- a/services/web/app/coffee/infrastructure/Features.coffee +++ b/services/web/app/coffee/infrastructure/Features.coffee @@ -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}")