mongaku/mongaku

View on GitHub
src/server/passport.js

Summary

Maintainability
A
1 hr
Test Coverage

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

module.exports = app => {
    const User = models("User");

    // serialize sessions
    passport.serializeUser((user, callback) => callback(null, user._id));
Severity: Minor
Found in src/server/passport.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status