mirror of
https://github.com/fleetdm/fleet
synced 2026-05-20 07:29:08 +00:00
Related to: #20296 Changes: - Added `ee/bulk-operations-dashboard`, a Sails.js app that lets users manage configuration profiles and scripts across multiple teams on a Fleet instance. - Added a Github workflow to deploy the app to Heroku - Added a Github workflow to test changes to the bulk operations dashboard.
39 lines
1.9 KiB
JavaScript
39 lines
1.9 KiB
JavaScript
/**
|
|
* Session Configuration
|
|
* (sails.config.session)
|
|
*
|
|
* Use the settings below to configure session integration in your app.
|
|
* (for additional recommended settings, see `config/env/production.js`)
|
|
*
|
|
* For all available options, see:
|
|
* https://sailsjs.com/config/session
|
|
*/
|
|
|
|
module.exports.session = {
|
|
|
|
/***************************************************************************
|
|
* *
|
|
* Session secret is automatically generated when your new app is created *
|
|
* Replace at your own risk in production-- you will invalidate the cookies *
|
|
* of your users, forcing them to log in again. *
|
|
* *
|
|
***************************************************************************/
|
|
secret: 'DUMMY_SECRET_REPLACED_IN_PROD',
|
|
|
|
|
|
/***************************************************************************
|
|
* *
|
|
* Customize when built-in session support will be skipped. *
|
|
* *
|
|
* (Useful for performance tuning; particularly to avoid wasting cycles on *
|
|
* session management when responding to simple requests for static assets, *
|
|
* like images or stylesheets.) *
|
|
* *
|
|
* https://sailsjs.com/config/session *
|
|
* *
|
|
***************************************************************************/
|
|
// isSessionDisabled: function (req){
|
|
// return !!req.path.match(req._sails.LOOKS_LIKE_ASSET_RX);
|
|
// },
|
|
|
|
};
|