diff --git a/website/api/controllers/try-fleet/view-query-report.js b/website/api/controllers/try-fleet/view-query-report.js index 735f2e4c0e..1eb7e322a2 100644 --- a/website/api/controllers/try-fleet/view-query-report.js +++ b/website/api/controllers/try-fleet/view-query-report.js @@ -54,9 +54,9 @@ module.exports = { throw {badConfig: 'builtStaticContent.osqueryTables'}; } - // If the requesting user is not logged in, redirect them to the /try-fleet/login page with the specified hostPlatform added as a query parameter. + // If the requesting user is not logged in, redirect them to the /try-fleet/register page with the specified hostPlatform added as a query parameter. if(!this.req.me){ - throw {redirect: `/try-fleet/login?targetPlatform=${encodeURIComponent(hostPlatform)}` }; + throw {redirect: `/try-fleet/register?targetPlatform=${encodeURIComponent(hostPlatform)}` }; } if(!sails.config.custom.queryIdsByTableName){