Showing 1 of 1 total issue
Function exports
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
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.');
}