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
/
authenticator.js
diff --git
a/lib/authenticator.js
b/lib/authenticator.js
index 5a4cd7d5f8beffad124ffb0bfcd5ed643c156c73..040834fd650cd46b4d61f6b03c1acf647721d0ff 100644
(file)
--- a/
lib/authenticator.js
+++ b/
lib/authenticator.js
@@
-51,7
+51,8
@@
class Authenticator {
throw new Error('no authentication mechanisms available');
}
throw new Error('no authentication mechanisms available');
}
- 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;
}