Closes: https://github.com/fleetdm/confidential/issues/4057 Changes: - Added the contents of the fleet-vulnerability-dashboard repo to ee/vulnerability-dashboard - Added a github workflow to deploy the vulnerability dashboard on Heroku - Added a github workflow to test changes to the vulnerability-dashboard - Updated the website's custom configuration to enable auto-approvals/review requests to files in the ee/vulnerability-dashboard folder
36 lines
417 B
JavaScript
36 lines
417 B
JavaScript
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: '/'};
|
|
}
|
|
|
|
return {};
|
|
|
|
}
|
|
|
|
|
|
};
|