feathersjs/feathers-authentication-popups

View on GitHub

Showing 1 of 1 total issue

Function exports has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function (options) {
  var cookieName = typeof options === 'string' ? options : options.name;
  if (!cookieName) {
    throw new Error('You must provide a cookie name {String} or an object with a `name` property to the feathers-authentication-popups middleware.');
  }
Severity: Minor
Found in express.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language