se manda de forma correcta el password

This commit is contained in:
2026-01-14 14:40:27 -06:00
parent 400bffa254
commit 086af154cf
+4 -4
View File
@@ -75,13 +75,13 @@ export class ProgramaService {
if (!responsable) {
const password = await this.authService.encriptar(
await this.authService.generarPassword(),
);
let contraseña=await this.authService.generarPassword();
const password = await this.authService.encriptar(contraseña);
const correoInfo = enviarSec(password, prog.correo, prog.nombre);
const correoInfo = enviarSec(contraseña, prog.correo, prog.nombre);
responsable = await this.usuarioRepo.create({
usuario: prog.correo,