mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 10:53:34 +03:00
24 lines
624 B
JavaScript
24 lines
624 B
JavaScript
|
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;
|
||
|
},
|
||
|
get ensureUser() {
|
||
|
return require('./middleware').ensureUser;
|
||
|
}
|
||
|
};
|