BrownPaperBag/duffel-auth

View on GitHub
lib/controllers/admin/users/get.js

Summary

Maintainability
A
1 hr
Test Coverage

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

module.exports = function(parameters) {
  var app = parameters.app;

  app.protect.get('/users/admin', 'view-users', function(req, res){
    res.render('/duffel-auth/admin/users/index.nunjucks');
Severity: Minor
Found in lib/controllers/admin/users/get.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status