RocketChat/Rocket.Chat

View on GitHub
apps/meteor/server/methods/setUserPassword.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function setUserPassword has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    async setUserPassword(password) {
        check(password, String);

        const userId = Meteor.userId();

Severity: Minor
Found in apps/meteor/server/methods/setUserPassword.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status