mashafrancis/butternut-user

View on GitHub
src/app/user/user.service.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

    public async login(credentials: CredentialsDto): Promise<UserEntity> {
        const user = await this.findByEmail(credentials.email);
        const validPassword = await verifyPassword(
            user.password,
            credentials.password,
Severity: Minor
Found in src/app/user/user.service.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status