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

26 lines
548 B
JavaScript
Raw Normal View History

module.exports = {
get getSession() {
return require('./middleware').getSession;
},
get cookieCsrfProtection() {
return require('./middleware').cookieCsrfProtection;
},
get safeGetSession() {
return require('./middleware').safeGetSession;
},
get createSession() {
return require('./middleware').createSession;
},
get destroySession() {
return require('./middleware').destroySession;
},
get getUser() {
return require('./middleware').getUser;
}
};