mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
Changes: - Added `/start`, a page where users can choose whether to run a local demo of Fleet, or purchase a Fleet Premium license - Updated all "Try it now" links to go to the `/register` page. - Updated the URL and added redirects: - `/customers/new-license` » `/new-license` - `/try-fleet/fleetctl-preview` » `/try-fleet` - `/customers/register` » `/register` - `/customers/login` » `/login` - Removed the `/try-fleet/login` and `/try-fleet/register` pages - Updated the /try-fleet/explore-data pages to redirect logged-out-users to the /register page - Updated policies, routes, and importer.less --------- Co-authored-by: Mike Thomas <[email protected]>
35 lines
422 B
JavaScript
Vendored
35 lines
422 B
JavaScript
Vendored
module.exports = {
|
|
|
|
|
|
friendlyName: 'View signup',
|
|
|
|
|
|
description: 'Display "Signup" page.',
|
|
|
|
|
|
exits: {
|
|
|
|
success: {
|
|
viewTemplatePath: 'pages/entrance/signup',
|
|
},
|
|
|
|
redirect: {
|
|
description: 'The requesting user is already logged in.',
|
|
responseType: 'redirect'
|
|
}
|
|
|
|
},
|
|
|
|
|
|
fn: async function () {
|
|
|
|
if (this.req.me) {
|
|
throw {redirect: '/start'};
|
|
}
|
|
|
|
return {};
|
|
|
|
}
|
|
|
|
|
|
};
|