0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
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;
}
};