this.staticPath = path.normalize(path.join(__dirname, '..', 'static'));
this.manager = new Manager(logger, db, options);
this.authenticator = new Authenticator(logger, db, options);
this.staticPath = path.normalize(path.join(__dirname, '..', 'static'));
this.manager = new Manager(logger, db, options);
this.authenticator = new Authenticator(logger, db, options);
async preHandler(req, res, ctx) {
await super.preHandler(req, res, ctx);
ctx.url = req.url; // Persist this for logout redirect
async preHandler(req, res, ctx) {
await super.preHandler(req, res, ctx);
ctx.url = req.url; // Persist this for logout redirect