Loading backend/src/auth/encryption/encryption.service.ts +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ import * as bcrypt from 'bcrypt'; export class EncryptionService { async hashPassword(password: string): Promise<string> { const salt: string = await bcrypt.genSalt(10); const hashedPwd: string = await bcrypt.hash('hola', salt); const hashedPwd: string = await bcrypt.hash(password, salt); return hashedPwd; } Loading Loading
backend/src/auth/encryption/encryption.service.ts +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ import * as bcrypt from 'bcrypt'; export class EncryptionService { async hashPassword(password: string): Promise<string> { const salt: string = await bcrypt.genSalt(10); const hashedPwd: string = await bcrypt.hash('hola', salt); const hashedPwd: string = await bcrypt.hash(password, salt); return hashedPwd; } Loading