src/app/user/user.service.ts
Function login
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public async login(credentials: CredentialsDto): Promise<UserEntity> {
const user = await this.findByEmail(credentials.email);
const validPassword = await verifyPassword(
user.password,
credentials.password,