Skip to content

Commit

Permalink
Remove unused options to session strategy.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhanson committed Aug 11, 2017
1 parent 50cc57a commit 3337f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/authenticator.js
Expand Up @@ -29,7 +29,7 @@ function Authenticator() {
*/
Authenticator.prototype.init = function() {
this.framework(require('./framework/connect')());
this.use(new SessionStrategy({ key: this._key }, this.deserializeUser.bind(this)));
this.use(new SessionStrategy(this.deserializeUser.bind(this)));
this._sm = new SessionManager({ key: this._key }, this.serializeUser.bind(this));
};

Expand Down

0 comments on commit 3337f7b

Please sign in to comment.