ksmithut/mongoose-token

View on GitHub

Showing 1 of 1 total issue

Function createdAt has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function createdAt(schema, options) {
  // http://sahatyalkabov.com/how-to-implement-password-reset-in-nodejs/

  // Set the default options
  options = options || {};
Severity: Minor
Found in index.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language