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