projects
/
squeep-authentication-module
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update dependencies and devDependencies, fix breaking changes from mystery-box update
[squeep-authentication-module]
/
lib
/
session-manager.js
diff --git
a/lib/session-manager.js
b/lib/session-manager.js
index a0bea6a94ce46ae4ec785f8fdabd796b7d8ab881..9428203a9619243355f35fb0950f826b7b7db118 100644
(file)
--- a/
lib/session-manager.js
+++ b/
lib/session-manager.js
@@
-30,7
+30,8
@@
class SessionManager {
this.authenticator = authenticator;
this.options = options;
this.indieAuthCommunication = new IndieAuthCommunication(logger, options);
this.authenticator = authenticator;
this.options = options;
this.indieAuthCommunication = new IndieAuthCommunication(logger, options);
- this.mysteryBox = new MysteryBox(logger, options);
+ this.mysteryBox = new MysteryBox(options);
+ this.mysteryBox.on('statistics', common.mysteryBoxLogger(logger, _fileScope(this.constructor.name)));
this.cookieLifespan = options.authenticator.inactiveSessionLifespanSeconds || 60 * 60 * 24 * 32;
}
this.cookieLifespan = options.authenticator.inactiveSessionLifespanSeconds || 60 * 60 * 24 * 32;
}