v2 ing soft #89

Merged
fede merged 92 commits from dev into main 2025-07-28 20:20:59 -03:00
Showing only changes of commit faa3f386a9 - Show all commits
+5 -2
View File
@@ -77,8 +77,11 @@ public class UsuarioController : ControllerBase
bool ret = RepositorioUsuarios.Singleton.SetF2aPin(pin, mails.Email);
if (ret == false) return BadRequest(new { message = "no se pudo generar/guardar el codigo 2fa" });
OtpEmailSender s = new();
s.Send(mails.EmailRecuperacion, mails.Email, pin);
Task.Run(() =>
{
OtpEmailSender s = new();
s.Send(mails.EmailRecuperacion, mails.Email, pin);
});
return Ok(new { message = $"Se envio un email de recuperacion a {mails.EmailRecuperacion}" });
}