We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffec700 commit 06285e4Copy full SHA for 06285e4
src/index.js
@@ -75,15 +75,6 @@ async function errorHandler(err) {
75
const hasFlash = _.isFunction(this.flash);
76
debug('hasFlash', hasFlash);
77
78
- // check if there is session support
79
- const hasSessions =
80
- _.isObject(this.session) &&
81
- _.isObject(this.sessionStore) &&
82
- _.isString(this.sessionId) &&
83
84
- _.isFunction(this.sessionStore.set);
85
- debug('hasSessions', hasSessions);
86
-
87
// check if there is a view rendering engine binding `this.render`
88
const hasRender = _.isFunction(this.render);
89
debug('hasRender', hasRender);
0 commit comments