TryGhost/Ghost

View on GitHub
ghost/security/lib/tokens.js

Summary

Maintainability
A
1 hr
Test Coverage

Function compare has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    compare: function compare(options) {
        options = options || {};

        const tokenToCompare = options.token;
        const parts = exports.resetToken.extract({token: tokenToCompare});
Severity: Minor
Found in ghost/security/lib/tokens.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status