jaredhanson/passport-browserid

View on GitHub

Showing 1 of 1 total issue

Function authenticate has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

Strategy.prototype.authenticate = function(req) {
  var self = this;
  
  if (!req.body || !req.body[this._assertionField]) {
    return this.fail({ message: 'Missing assertion' }, 400);
Severity: Minor
Found in lib/strategy.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language