From 7d5bd74c4360b9982ff3827839ab6c9a80bad0d7 Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Fri, 21 Sep 2018 11:28:44 +0100 Subject: [PATCH] Enable legacy login for tests --- services/web/test/acceptance/coffee/helpers/User.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/test/acceptance/coffee/helpers/User.coffee b/services/web/test/acceptance/coffee/helpers/User.coffee index 691a214c8b..80846240d7 100644 --- a/services/web/test/acceptance/coffee/helpers/User.coffee +++ b/services/web/test/acceptance/coffee/helpers/User.coffee @@ -58,7 +58,7 @@ class User @getCsrfToken (error) => return callback(error) if error? @request.post { - url: "/login" + url: if settings.enableLegacyLogin then "/login/legacy" else "/login" json: { email, @password } }, callback