Ghost/core/server/services/auth/session/index.js

15 lines
344 B
JavaScript
Raw Normal View History

module.exports = {
// @TODO: expose files/units and not functions of units
get createSession() {
return require('./middleware').createSession;
},
get destroySession() {
return require('./middleware').destroySession;
},
get authenticate() {
return require('./middleware').authenticate;
}
};