This commit is contained in:
2025-10-30 10:14:46 -06:00
parent 4a9c6e5eb7
commit d514cf8714
3 changed files with 0 additions and 8 deletions
Binary file not shown.
Binary file not shown.
-8
View File
@@ -24,12 +24,8 @@ export class AuthService {
}
try {
<<<<<<< HEAD
const salt = await bcrypt.genSalt(10);
const hashedContraseña = await bcrypt.hash(contraseña, salt);
=======
const hashedContraseña = await bcrypt.hash(contraseña,10);
>>>>>>> 3317b7bdbe91d04618f00c28caeca76c35803f9c
await this.usuarioService.create({
nombre,
@@ -52,10 +48,6 @@ export class AuthService {
}
const contraseñaValida = await bcrypt.compare(
<<<<<<< HEAD
=======
usuario.contraseña,
>>>>>>> 3317b7bdbe91d04618f00c28caeca76c35803f9c
contraseña,
usuario.contraseña,
);