se manda de forma correcta el password
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user