operador listo, solo falta reporte
This commit is contained in:
@@ -8,7 +8,7 @@ export class BcryptService {
|
||||
|
||||
encriptar(password: string) {
|
||||
const salt = bcrypt.genSaltSync(
|
||||
Number(this.configService.get<string>('SALT_ROUNDS')),
|
||||
parseInt(this.configService.get<string>('SALT_ROUNDS')),
|
||||
);
|
||||
|
||||
return bcrypt.hashSync(password, salt);
|
||||
|
||||
Reference in New Issue
Block a user