lib/app/internals/auth/PassportLocal.ts
Function constructor
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor(config:any) {
var jwt = require('jsonwebtoken');
var BearerStrategy = require('passport-http-bearer');
this.config = config;
passport.use(new BearerStrategy((token, done) => {